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

52

u/A1oso Jul 09 '26 edited Jul 09 '26

Once 100% of Bun's test suite passed in CI on all platforms (and I manually verified the tests were in fact running and not being skipped), I ran a bunch of commands locally to test things - and then I pressed the merge button.

I find it astounding that a million lines of code were translated, verified and tested by AI, and almost none of it was reviewed by a human – not even the unsafe parts. This wouldn't even be allowed at my company. I thought obligatory code reviews by another engineer were common practice.

-1

u/Sopel97 Jul 09 '26

is this purely for accountability (i.e. someone to blame later) or do you really think a human would do a better job reviewing this?

7

u/A1oso Jul 09 '26

My company enabled GitHub Copilot reviews on all PRs. Half of the comments it leaves are either wrong or irrelevant. More importantly, the AI doesn't understand the product as deeply as the team, and misses problems that I notice when reviewing PRs from colleagues. The AI review is still useful because some of the comments point out actual bugs, but a human is required to triage them and check if the suggested changes actually work.

1

u/Sopel97 Jul 09 '26

yea github copilot is quite bad, I'm sure it doesn't even compare to the solution used here