Hacker News new | ask | show | jobs
by fnands 15 days ago
Not a lot of it is unsafe, I think they said 4%?

It's practically impossible to write safe Rust when you are calling external libs written in C/C++, like they do for the Javascript engine.

1 comments

Sure, but you cordon that stuff off into small, bounded unsafe surfaces. My bet is the new bun is a crashy pile of garbage if they've just translated Zig spaghetti into Rust unsafe spaghetti with an LLM. Hadn't occurred to me.

4% is a lot in my world.