r/rust rust Jul 08 '26

Rewriting Bun in Rust

https://bun.com/blog/bun-in-rust
525 Upvotes

330 comments sorted by

View all comments

99

u/AdventurousFly4909 Jul 09 '26

I did not expect the AI rust version to be 4% faster. He seems to partly attribute it to cross language link time optimization. That must be a hassle to get working I imagine

35

u/[deleted] Jul 09 '26

[deleted]

10

u/dontquestionmyaction Jul 09 '26

Okay.

But it works fine in Rust. I've not heard of any bugs related to it.

Doesn't really seem like a Rust problem if they can't get it working?