Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> the post gives compelling statistics (Bun has almost EIGHT times as many crash issues as Deno over a similar number of tickets) on Zig's memory safety approach and its issues that also line up with my experience.

That's because Zig defers a bunch of checks to runtime that Rust will force you to deal with before it will let you compile at all.

That is a tradeoff. Developer velocity vs memory safety.

Given that Bun seems to be beating Deno on most metrics, it seems like that was the correct choice for Bun.



A segfault is not the program performing a runtime check and doing a controlled shutdown. A segfault is the OS detecting the program doing something it's not allowed to and killing it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: