Scoopfeeds — Intelligent news, curated.
computer-science

Bun ported to Rust in 6 days

Hacker News · May 9, 2026, 6:47 PM

Key takeaways

  • Published: May 9, 202672671.7k99.8% of bun’s pre-existing test suite passes on Linux x64 glibc in the rust rewrite
  • it’s basically the same codebase except now we can have the compiler enforce the lifetimes of types and we get destructors when we want them. and the ugly parts look uglier (unsafe) which encourages refactoring.
  • why: I am so tired of worrying about & spending lots of time fixing memory leaks and crashes and stability issues. it would be so nice if the language provided more powerful tools for preventing these things.

Published: May 9, 202672671.7k99.8% of bun’s pre-existing test suite passes on Linux x64 glibc in the rust rewrite

it’s basically the same codebase except now we can have the compiler enforce the lifetimes of types and we get destructors when we want them. and the ugly parts look uglier (unsafe) which encourages refactoring.

why: I am so tired of worrying about & spending lots of time fixing memory leaks and crashes and stability issues. it would be so nice if the language provided more powerful tools for preventing these things.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop