Bun 1.0 Released With Experimental Windows Version
Written by Kay Ewbank   
Thursday, 14 September 2023

Bun, the new JavaScript runtime, is now available in a 1.0 production-ready version, according to the developers, who have also announced an experimental Windows version.

Bun is a modern JavaScript runtime aiming at similar uses to Node or Deno. The developers describe it as a fast, all-in-one toolkit for running, building, testing, and debugging JavaScript and TypeScript, from a single file to a full-stack application. It includea a bundler, transpiler and package manager.

bun

Bun was designed to be a drop-in replacement for your current JavaScript and TypeScript apps or scripts, running either on your local computer, server or on the edge. Written in Zig, Bun is a wrapper around JavaScriptCore, WebKit's JavaScript engine, and natively implements around 90 percent of Node-API functions.

The Bun website says Bun is fast, starting up to four times faster than Node.js, and even faster when running a TypeScript file, which requires transpilation before it can be run by Node.js.

Previous versions of Bun have provided native builds for macOS and Linux, but until now, if you wanted to run Bun on Windows, you would need to install Windows Subsystem for Linux. This version includes an experimental, native build of Bun for Windows.

The development team cautions that while the macOS and Linux builds of Bun are production-ready, the Windows build is highly experimental. At the moment, only the JavaScript runtime is supported; the package manager, test runner, and bundler have been disabled until they are more stable. In addition, the performance has so far not been optimized. The team says they plan on rapidly improving support for Windows over the coming weeks.

Bun 1.0 is available now.

bun

More Information

Bun Website

Bun On GitHub

Zig Website

Related Articles

Bun JavaScript Runtime Adds Runtime Plugin API

Deno Adds API Support For Node.js Compatibility 

Node.js 18 Adds Core Test Runner

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Rust 1.83 Improves Const Context Code Handling
12/12/2024

Rust 1.83 has been released with improvements to the handling of code running in const contexts.



Pico 2W Announced But There Is A Surprise!
25/11/2024

Raspberry Pi released the Pico 2 a few months ago and we have been waiting for the Pico 2W since then. But Pimoroni beat them to the draw with the Pico Plus 2W based on the RM2 radio module and hinted [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 14 September 2023 )