Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

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

go.theregister.com·Tim Anderson·27 days ago
#E5vLzFFa
#rust#sumner#code#version#photo#article
Reading 0:00
15s threshold

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, claiming a four-times improvement in debug compilation times thanks to the use of parallel code generation with LLVM on macOS and Linux. These improvements cannot be upstreamed to Zig thanks to its strict no-AI policy for issues, pull requests (PRs), and comments on the bug tracker.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More