To me, this whole effort of rewriting Bun from Zig to Rust looks like a big marketing move. The question is: if Anthropic AI is really that powerful, why not just fix the bugs and give it the more ambitious task of redesigning the existing Bun Zig codebase in a way that eliminates not only the current bugs but also prevents similar ones from happening in the future?
I do wonder to what degree this weird play originated from Anthropic, versus from an overeager founder selling past the close.
I can imagine Anthropic wanting to acquire Bun without the gimmicks.
It is worth noting that before rewriting in Rust, Bun maintained a fork used to accelerate the compilation and informed those who asked that this fork could never be merged due to Zig's zero-LLM policy.
A few weeks later, Bun began the Rust rewrite. Although not explicitly stated, I suspect these two events may be related.
But Rust is exactly the tooling that gives humans and LLMs a lot of those checks for free, and things like RAII.
"effort" is a big word to describe typing out a few prompts to create something with 5k+ open issues.
Static guarantees are better than stochastic parrots. A static linger beats telling Claude "check this idiom". Etc etc.
The sole reason for that rewrite was Zig creator announcing he won't be accepting AI contributions. It hurt Anthropic's feelings.