Hacker News new | past | comments | ask | show | jobs | submit login

"Unlike C, this does not result in undefined behavior "

Of course it does. If you turn off expensive runtime checks, you'll get SIGSEGVs. That doesn't happen in Rust, because it is semantically impossible to dereference NULL.




Since when were we comparing Nim and Rust? yes Rust is more safe than Nim, but that comes with tradeoffs. You are obviously not reading the whole thread about me bringing up (multiple times) the fact that you can avoid these and will be even easier to avoid in the future.




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

Search: