News for hackers. Stuff that matters.
Re:Cruller: Bun's Zig Runtime, Continued on Zig 0.16 by mekky16 on Thursday July 23, 2026 @07:01AM (#49019604)
i dont see the point of this to be honest, if rust is actually better for bun why are you people just hating on it for no reason? a software doesnt have to be written in your favourite language for it to work. bun was a sloppy project is zig and still sloppy in rust
Re:Cruller: Bun's Zig Runtime, Continued on Zig 0.16 by insanitybit on Thursday July 23, 2026 @07:13AM (#49019732)
The repo calls out the purpose and it's pretty good.
Re:Cruller: Bun's Zig Runtime, Continued on Zig 0.16 by abejfehr on Thursday July 23, 2026 @02:17PM (#49025895)
> Bun stopped shipping a Zig-based runtime after 1.3.14 — the project moved on to a Rust rewrite. Cruller forks that last Zig-era Bun and ports it forward to Zig 0.16 instead of following Bun into its rewrite.

I might be missing something, but where does it mention why specifically they're interested in having this be Zig and not Rust?

Re:Cruller: Bun's Zig Runtime, Continued on Zig 0.16 by insanitybit on Thursday July 23, 2026 @02:38PM (#49026183)
> In any case, I do not want to throw away such a large codebase that has taken several years to build. It makes more sense to turn it into a convenient embeddable library that can be used throughout the Zig ecosystem.

Sorry, not repo, the link.

Re:Cruller: Bun's Zig Runtime, Continued on Zig 0.16 by aaronsung on Friday July 24, 2026 @01:44AM (#49031602)
I think it's the other way around. Bun is being ported from Zig to Rust for no significant benefit, but just for the sake of using AI. Bun doesn't gain any significant performance improvements. The codebase is now filled with unsafe blocks, which undermines many of Rust's safety guarantees. On top of that, it hasn't undergone enough real-world testing to ensure it works correctly.