logoalt Hacker News

cyber1today at 11:06 AM7 repliesview on HN

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?


Replies

dwdztoday at 11:10 AM

The sole reason for that rewrite was Zig creator announcing he won't be accepting AI contributions. It hurt Anthropic's feelings.

show 2 replies
ofseedtoday at 4:08 PM

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.

rao-vtoday at 11:16 AM

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.

show 1 reply
Tiberiumtoday at 11:08 AM

But Rust is exactly the tooling that gives humans and LLMs a lot of those checks for free, and things like RAII.

show 1 reply
bramhaagtoday at 11:46 AM

"effort" is a big word to describe typing out a few prompts to create something with 5k+ open issues.

show 1 reply
advenntoday at 11:08 AM

zig doesn't accept ai written code

show 1 reply
andrepdtoday at 11:32 AM

Static guarantees are better than stochastic parrots. A static linger beats telling Claude "check this idiom". Etc etc.

show 1 reply