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

Oh god, how petty to take this literally.

Rust had a 2+ major memory CVEs in its standard library, and so had kernel Rust.

My point was that it's possible to write memory safe C, I have not implied that this meant 0 memory issues ever. Just pointed out that it has a lot to do with the programmer behind the code.

 help



Rust had 2+ and any C project has like 200+. It is not possible to write memory safe C code in practice. It may look like it is but it just is not.

How is it meant to be taken, other than as a laughably naive statement which is patently false? It is not possible to write memory safe code in C.

It is also not possible to always write correct code in ANY language, but languages that eliminate entire categories of errors do see a reduction in those error rates.

But yes, there is always someone saying "just don't make mistakes, bro". Thank you, we hadn't thought of that.




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

Search: