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


Gender Differences In Coding Style
13/11/2024

A novel investigation into the gender gap between men and women regarding coding ability was undertaken by Dr Siân Brooke. Her conclusion? There is a difference in the Python code [ ... ]



OpenAI Library For .NET Exits Beta
19/11/2024

A few months ago the OpenAI .NET library was released as a beta. It has now reached version 2.0.0 and the time has come to leave beta and, with a few amendments enter production readiness.


More News

espbook

 

Comments




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

Last Updated ( Thursday, 14 September 2023 )