Software Engineering

Deno 2.9 introduces deno desktop and significant performance gains

Key Takeaway

Deno 2.9 adds experimental native desktop application building via 'deno desktop' and achieves up to 2x faster startup times.

Summary

Deno 2.9 introduces 'deno desktop', an experimental tool for building native desktop applications from web technologies without Electron boilerplate. The release also features improved Node.js 26 compatibility, direct support for npm, pnpm, yarn, and Bun lockfiles, and significant performance improvements in startup time, memory usage, and HTTP throughput.

New features in Deno 2.9

  • deno desktop: An experimental feature that compiles web projects into single binaries using either the OS's native webview (WebView2, WebKit) or the Chromium Embedded Framework (CEF).
  • Native APIs: Includes Deno.BrowserWindow, Deno.Tray, and Deno.Dock for desktop integration.
  • Performance: Cold start times reduced by ~50% (from 34ms to 17ms) and memory usage (RSS) reduced by up to 3.1x under load.
  • Package Management: deno install now reads lockfiles from npm, pnpm, yarn, and Bun directly.
  • Web Standards: Added support for CSS module imports via import attributes.

Why it matters

The ability to build desktop apps and migrate from Node.js ecosystems with minimal friction positions Deno as a more direct competitor to Node.js and Electron.

Original reference: deno.com →