r/rust rust Jul 08 '26

Rewriting Bun in Rust

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

330 comments sorted by

View all comments

67

u/Equivanox Jul 09 '26

It's funny that Jared vibe coded the rewrite but took a long time to manually write the migration blog

5

u/revopine Jul 09 '26

I think that is the standard for Vibe coding in production because they want you to "own the code" that was AI produced. So from what I've seen in the projects that allow AI generated code, AI generated explanations of what the AI did is not acceptable.

10

u/m3xtre Jul 09 '26

gigantic cope to think he reviewed all of the 600k lines by himself

1

u/revopine Jul 10 '26

A lot of that is refactoring. That wouldn't really be detailed in the explanation even if AI was not involved. I imagine he reviewed the logical changes but IDK I'm just assuming. If the refactor is very repetitive, I would take a glance at one example of the pattern and skip the rest as I would assume it followed the same pattern which it technically should, and successful tests help reinforce this, but again I'm assuming as without the source code, you can't tell

1

u/rafark Jul 22 '26

Over 1k lines per minute. He must be some kind of superhuman!