logoalt Hacker News

lionkortoday at 8:03 AM2 repliesview on HN

> Of course, if Bun's Rust port has tons of `unsafe`, it won't magically solve them all, but it'll still get better

You get very few of the Rust guarantees when you litter your code with unsafe to get around the safety checks (which is what they're doing here). I would not recommend running this in production.


Replies

pikertoday at 10:45 AM

Yes, liberal unsafe code makes in Rust it arguably worse than writing it in a presumed-unsafe language.

boxedtoday at 11:20 AM

From what I understand, rust "unsafe" is actually pretty damn safe compared to an actually memory unsafe language.