Anthrophic's Bun team trials port from Zig to Rust

https://image.theregister.com/5222154.jpg?imageId=5222154&panox=0&panoy=0&panow=0&panoh=0&width=1200&height=683

Bun posts Rust porting guide, says rewrite is still half-baked

Zig's no-AI policy is at odds with view that most open source code will be AI-written in future

Bun creator Jarred Sumner has posted a Zig-to-Rust porting guide, igniting speculation that the project may migrate away from Zig, though Sumner said there is no commitment to rewriting, only that he is "curious to see what a working version of this looks like."

Bun, a JavaScript runtime and toolkit, is a prominent user of Zig, a general-purpose systems programming language designed by Andrew Kelley to improve on C, currently at version 0.16. Building with Zig has been a distinctive feature of Bun against its competitors Node.js, which uses C++, and Deno, which uses Rust.

That said, the Bun team has already forked Zig, claiminga four-times improvement in debug compilation times thanks to the use of parallel code generation with LLVM...

Copyright of this story solely belongs to theregister.com. To see the full text click HERE

Read more