Bun 1.3 stuffs everything and kitchen sink into JS runtime

Version 1.3 of the Bun JavaScript runtime and toolkit has landed, pushing forward the project's goal to consolidate fragmented JavaScript toolchains into a single solution. Yet the rapid expansion has some developers questioning whether Bun is trying to do too much, too fast.

Written in Zig and powered by Apple-sponsored JavaScript Core engine, Bun is aiming for fast performance, Node.js compatibility, and all-in-one support for application developers.

Creator Jarred Sumner and team have posted nearly 14,000 words about new features: a full-stack dev server with hot reloading (meaning code changes are reflected immediately in a running application); a SQL API with PostgreSQL, MySQL and SQLite clients; Redis support; enhanced routing; cross-platform compilation to standalone executables; a security scanner API; and isolated installs to minimize dependency conflicts and issues.

An isolated install means that packages (libraries) can only access explicitly declared dependencies. This works by creating package-specific directories beneath node_modules, where dependencies are stored, reducing the risk of a package accidentally using a different dependency than it was designed to use.

Software engineer Dylan Conway claimed that integrating JavaScript Core's garbage collector with Bun's event loop, new in 1.3, achieved a 100x reduction in idle CPU time and a 40 percent reduction in idle memory usage. More intensive usage of resources should translate to lower hosting costs.

Some new features mentioned by the team, such as the Redis client, were already released in previous minor updates, but there is no doubting Bun's rapid evolution. The scope of the project has steadily expanded. A note in the docs states that "long-term, Bun aims to provide an all-in-one toolkit to replace the complex, fragmented toolchains common today: Node.js, Jest, Webpack, esbuild, Babel, yarn, PostCSS, etc."

Bun 1.3 is described as the start of a series, with the likely next step being the release of Bake, a built-in server that will support React server components and server actions. Bake was originally slated to be released with Bun 1.3, but Sumner said on the official Discord forum that "it's not ready yet and we didn't want to delay bun 1.3 further."

It is just two years since Bun 1.0 was released, in September 2023, but its popularity has grown; Sumner said there are now more than 5 million monthly downloads of the toolkit. Bun users include Anthropic, which uses it for the Claude Code CLI (command line interface).

Developers have mixed views though. "Bun has turned into a beast. Covering nearly every feature someone could possibly need in their environment," said one; while another questioned that "I'm not sure I want all of what normally are external libraries coming out of one place."

Quality also suffers sometimes in the rapid release of new features, with perhaps another factor being that Zig is evolving and still a preview, with the latest release at the time of writing being 0.15.1. Reports of segmentation faults - illegal memory access such as out of bounds errors - are not uncommon in the Bun issue list.

Bun is open source under the MIT license , but some are puzzling over what will be the business model behind it. Sumner originally said this will be based on "fast serverless hosting," an approach also used by Vercel, whose co-founder Guillermo Rauch participated in a 2022 funding round for Oven.

A user on Reddit spotted a job vacancy for "Bun's first revenue-generating product" which will be "combining Bun's speed with modern AI capabilities."®

Search
About Us
Website HardCracked provides softwares, patches, cracks and keygens. If you have software or keygens to share, feel free to submit it to us here. Also you may contact us if you have software that needs to be removed from our website. Thanks for use our service!
IT News
Nov 15
Researchers find hole in AI guardrails by using strings like =coffee

Who guards the guardrails? Often the same shoddy security as the rest of the AI stack

Nov 14
Canonical pushes Ubuntu LTS support even further - if you pay

Enterprise Linux vendors keep jostling to see who can prop up geriatric distros the longest

Nov 14
Now you can share your AI delusions with Group ChatGPT

Just when you thought virtual collaboration couldn't get worse, OpenAI stuffs a bot into your group conversations

Nov 14
GPU goliaths are devouring supercomputing - and legacy storage can't feed the beast

VDURA boss: Your x86 clusters are obsolete, metadata is eating 20% of I/O, and every idle GPU second burns cash

Nov 14
Tales from the pit: AI and the software engineer

Feature Exploring the evolving relationship between human engineers and their algorithmic assistants

Nov 14
Trillionaire fantasies, investor dreams, reality nightmares

Opinion Why Musk won't ever realize the shareholder-approved Tesla payout

Nov 14
UK tribunal says reselling Microsoft licenses is A-OK

Windows giant disagrees and plans to appeal