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.

21CTO
21CTO
21CTO
Deno 1.41 Cuts Binary Size by 50% and Adds Official Linux ARM64 Support
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.execFile

This 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

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

RuntimeNode.js compatibilitybinary sizeDenoLinux ARM64
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.