Anthropic’s Bun Rust rewrite merged at speed of AI
Version 1.3.14 of JavaScript toolkit released as last Zig version; a million lines of Rust code merged in gargantuan commit
A pull request with a Rust version of Anthropic’s Bun, aJavaScript toolkit and runtime originally written in Zig, has been merged tothe main Bun repository. Thos comes just days after its author, Jared Sumner, said"there's a very high chance all this code gets thrown out."
Sumner posted on X (formerly Twitter) five days ago that "99.8 percent of bun's pre-existing test suite passes on Linux x64fglibc in the rust rewrite," a clue that what was initially described as anexperiment was likely to make it to production. Three days later, the Bun teamreleased version 1.3.14, with Sumner stating that if the Rust rewrite wasmerged, "this would be the last version in Zig."
Today that merge took place,adding more than one million lines of code. Sumner said it passes Bun's testsuite on...
Copyright of this story solely belongs to theregister.com. To see the full text click HERE