Bun's unreleased Rust port has 13,365 unsafe blocks
25 points
1 hour ago
| 1 comment
| bun.com
| HN
evil-olive
30 minutes ago
[-]
right at the very top:

> Bun · Rust codebase audit · May 21, 2026 · AI generated

nice of them to be up-front about it, I guess.

the port is AI slop, littered with 13k unsafe blocks.

and this blog post is more AI slop, claiming to present a "plan" for how to reduce that number.

why should anyone trust anything they output? all they're trying to do is cover up their slop with more slop.

if you're cleaning your house, and the dirt can't all fit under one rug, the obvious solution is to buy another rug.

reply
maipen
1 minute ago
[-]
I trust them because of their reputation. I have been a bun user before v1.0.0 and I experienced some shortcomings, bugs, memory leaks and things of that nature. But all of them were eventually patched, and it has become my go to runtime for at least 2 years now.

I trust their judgement to do the right thing.

I don’t understand the overreaction since this is a parallel development.

If it turns out to be better than make it default. Bugs get fixed it’s not like their zig version didn’t have issues before.

reply
jarym
6 minutes ago
[-]
Dunno, AI was quick to prove it could be done. I’ve found while it’s initial attempts might be slop, with good direction it can really tidy things up
reply