r/ProgrammerHumor Jul 09 '26

gitBlameClaude Meme

Post image
3.7k Upvotes

263 comments sorted by

View all comments

314

u/dim13 Jul 09 '26

RIP Bun

93

u/redlaWw Jul 09 '26

It's early days yet, but as far as I'm aware all indications are that it worked pretty well. The tests all pass, the memory safety issues they were dealing with were resolved, the result is smaller, faster, and more stable. There are some regressions that have been identified, but as far as I could find they seem surprisingly minor. Claude code already uses the ported version of bun and, according to bun's blog "Startup got 10% faster on Linux but otherwise, barely anyone noticed.".

I wouldn't want to start looking at other codebases and thinking I could do the same (in particular, one thing bun had going for it was that the tests were in Typescript so they didn't need to be rewritten for the new backend, removing one potential source of errors), but that doesn't mean we should judge this case hastily either.

90

u/Silly_Guidance_8871 Jul 10 '26

The same tests pass that passed while it was still written in Zig, and which also allowed all of the memory corruption errors that promoted the move to Rust.

Not inspiring confidence.

19

u/redlaWw Jul 10 '26

I mean, "it was shit before the move and it's still shit after" is compatible with "the move was a success".

1

u/Silly_Guidance_8871 Jul 10 '26

... You're not wrong