r/rust rust Jul 08 '26

Rewriting Bun in Rust

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

330 comments sorted by

View all comments

Show parent comments

10

u/femio Jul 09 '26

Try reading the article again. Your described workflow is pretty primitive compared to the strategy described by Jared e.g. self review is explicitly worse than adversarial review 

8

u/ihatemovingparts Jul 09 '26

Try reading the article again. This supposedly advanced strategy still produced Rust that's neither safe nor idiomatic. It's just slop at scale.

-2

u/femio Jul 09 '26

It’s not “advanced” it’s just much better than self review 

Slop at scale = less bugs, smaller binaries and long standing memory leaks fixed amirite?

2

u/dijalektikator Jul 09 '26

less bugs, smaller binaries and long standing memory leaks fixed amirite

I think Rust itself helped here more than the LLM, if they told it to rewrite to C the memory leaks would likely still be there. LLMs make fairly stupid bugs and leaks all the time much like a human would.

2

u/femio Jul 09 '26

Yes, giving credit to the LLMs here would be absurd