Deno 1.41 Cuts Binary Size by 50% and Adds Official Linux ARM64 Support
Version 1.41 of the Deno runtime, released on February 23, reduces compiled binary sizes by up to 50%, introduces official Linux ARM64 binaries, adds several Node.js compatibility fixes, expands API capabilities, and improves language server features, while outlining future plans for further size reductions and custom builds.
Deno, the new TypeScript/JavaScript runtime, has reduced the size of compiled binaries and, in the newly released Deno 1.41, introduced an official Linux ARM64 version.
Deno, a competitor to Node.js, released its latest version on February 23. Users can upgrade Deno by running the following command in a terminal: deno upgrade Deno Land states that the command‑line generated binary in Deno 1.41 is 50% smaller than in previous releases.
For example, a “Hello World” program compiled on a Mac ARM with Deno 1.40 produced a 116 MB binary, while the same program compiled with Deno 1.41 is only 58 MB.
The next Deno version plans to make compiled binaries even smaller and allow developers to build custom versions that include only the needed features. deno compile Linux ARM64 support has been one of the most requested features in the Deno community. In addition to the provided Linux ARM64 binary, developers can install an ARM64 canary version to test new features and previous bug fixes.
Deno 1.41 also fixes several Node.js compatibility issues. Modules now support the aes256 algorithm, ALPN protocol support, and proper validation of the timeout parameter. For example:
crypto http2.connect fs/promises cp() cp.execFileThis version also modifies the Deno API. It adds support for attributes to better align with other "Connect" APIs in Deno, improves terminal I/O support, and introduces file locking capabilities.
Deno.ConnectTlsOptions cert key Deno.FsFile.isTerminal Deno.FsFile.SetRaw() Deno.FsFile.lock() Deno.FsFile.unlock()For language servers, Deno 1.41 provides better autocomplete triggers and more reliable version suggestions. Memory leaks related to linting in the Language Server Protocol (LSP) have also been successfully fixed.
Related reading:
Deno 1.39 released: WebGPU regression, better Node.js compatibility and TypeScript 5.3
10 popular Node.js libraries and frameworks
Astro 3.0, a web framework compatible with JavaScript/TypeScript, released
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
21CTO
21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
