logoalt Hacker News

fnandstoday at 10:56 AM1 replyview on HN

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.


Replies

pikertoday at 1:54 PM

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.