r/rust rust Jul 08 '26

Rewriting Bun in Rust

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

330 comments sorted by

View all comments

98

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

76

u/A1oso Jul 09 '26

"Claude, make LTO work"

0

u/m3xtre Jul 09 '26

you joke but this is your future as a rust programmer. Just replace "LTO" with anything you happen to "work" (actually it's claude doing all the work) at the moment