Hacker News new | ask | show | jobs
by lukeweston1234 17 days ago
Couple of notes here:

- This is blatantly irresponsible, and killed any credibility this project has

- Comparing unsafe counts to UV makes no sense here.

- There is already a strong, safe runtime that's not vibe coded, called Deno, that more people need to check out.

- I am skeptical why Bun was even an acquisition target in the first place, other than pulling stunts like this.

3 comments

> - There is already a strong, safe runtime that's not vibe coded, called Deno, that more people need to check out.

But people don't like the differences in the other feature parity. Otherwise they would already use it.

> Comparing unsafe counts to UV makes no sense here.

Agreed. The better comparison is Deno, which does roughly the same thing (wrapping a c/c++ javascript engine to create a serverside runtime). Deno was smaller, but per line of code/file it had just over half the unsafe as the bun slop rewrite. There are also examples of unsafe blocks that are just locally incorrect [0], meaning you don't even need to read outside the function and it's definition to determine that the entity doing the porting (in this case claude) didn't understand how unsafe rust works.

> I am skeptical why Bun was even an acquisition target in the first place, other than pulling stunts like this.

From what I've heard, it sounds like the author had become fully hooked by LLM coding before the acquisition, so I don't think we know enough to conclude that this was premeditated by Anthropic. I think the more likely trigger is that Bun had just bragged about how they'd forked the zig language for a performance increase and attacked zig for it's no-AI policy, only for a zig core team member to point out that the code couldn't be upstreamed even if it had been hand written [1].

The better point, IMO, is how this is an example of how AI use/addiction makes developers who fall into it loose the ability to judge code quality, particularly for code they prompted for themselves. From what I've heard of Mr. Sumner and the team at oven from before AI, I very much doubt code of this poor quality would have been allowed anywhere near the main branch before LLMs.

[0] https://github.com/oven-sh/bun/blob/d2a6506dfad4c3ef3dddb9ae...

[1] https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...

Claude Code uses Bun.
Why didn't they just rewrite Claude Code in Rust, and save everyone else the trouble of becoming the subject of their dramatic public experiment.