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

Well, technically, Rust is unsafe, unless they remove “unsafe”.

We’re really talking about safety on a continuum, not as a binary switch. Zig has some strong safety features, and some gaps. Well, one notable big gap, UAF. (Perhaps they’ll figure out a way to plug thisin the future? Perhaps by 1.0?)

Actually, safety has multiple axes as well.

> Personally I do not see the point of building an entirely new language and ecosystem that does not fully address this issue

The more safe languages make significant tradeoffs to achieve their level of safety. The promise of zig (I don’t know if it will ultimately achieve this, but it’s plausible, IMO), is “a better C”, including much more safety. For one thing, it has a great C interop/incremental adoption story, which increases the chance it will actually be used to improve existing codebases. The “RIIR” meme is a joke because, of course, there is no feasible way to do so for so many of the useful and widely used vulnerable codebases.



>Well, technically, Rust is unsafe, unless they remove “unsafe”.

I am somewhat surprised this is being mentioned. And the whole thread is without the usual people complaining it about unsafe.

Interesting changes happening on HN.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: