13.4 C
New York
Wednesday, February 28, 2024

Deno shrinks deno compile binaries


The builders of the Deno TypeScript/JavaScript runtime have lowered the scale of deno compile binaries and launched an official Linux ARM64 construct with the newly launched Deno 1.41 model.

This newest launch of the Node.js rival was unveiled February 22. Customers can improve their Deno set up by working the next command within the terminal:

deno improve

Deno Land stated the binaries produced by the deno compile command in Deno 1.41 are as a lot as 50% smaller than in earlier variations. A “Hi there World” program compiled to a 116MB binary on Mac ARM in Deno 1.40 compiled to only 58MB in Deno 1.41. Additional plans embrace making compiled binaries even smaller, in addition to permitting builders to compile a customized construct of Deno with solely desired options.

Linux ARM64 help has been one of the vital requested options within the Deno group, Deno Land stated. Along with the supplied Linux ARM64 binaries, builders now can set up ARM64 canary builds to check options and bug fixes.

Deno 1.41 fixes a number of Node.js compatibility points. The crypto module now helps the aes256 algorithm, http2.join helps ALPN protocols, fs/guarantees helps cp(), and cp.execFile now correctly validates the timeout parameter.

The discharge additionally brings modifications to Deno APIs. Deno.ConnectTlsOptions now helps cert and key properties to raised align with different “join” APIs in Deno. DenoFsFile.isTerminal and Deno.FsFile.SetRaw() now can be found to raised help terminal I/O, whereas Deno.FsFilelock() and Deno.FSfile.unlock() can be found to help file locking.

For the language server, Deno 1.41 brings higher auto-completion triggers and extra dependable model recommendations for npm: specifiers. And a linting-related reminiscence leak within the language server protocol (LSP) has been mounted.

Copyright © 2024 IDG Communications, Inc.



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles