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


Linus Torvalds Over Flows On Overflows In C
15/05/2024

You may think of Linus Torvalds as the Linux guru, but he is also a leading expert on C and often ignored and misunderstood in this role. A recent exchange on the Linux Kernel mailing list demonstrate [ ... ]



Amazon Bedrock Adds Support For Anthropic's Claude3 Opus
14/05/2024

Bedrock, Amazon's fully managed service for building generative AI applications, has been enhanced with support for Anthropic's Claude 3 Opus Foundation Model.


More News

raspberry pi books

 

Comments




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

Last Updated ( Thursday, 14 September 2023 )