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

Rust is just as unsafe, because it has data races in external resources and IPC.



No Rust is not “just as unsafe”, it keeps all its unsafety inside specific blocks where the burden to avoid (or handle bad behavior from) e.g. races, type safety or memory management is placed on the developer. In my C# programs I have to handle the risk of races with my head, in the entire codebase.

One might argue that “well those small parts of a rust program are as unsafe as the entire C# program” but that would be a completely nonsensical argument so I’m going to give you the benefit of the doubt that’s not what you meant.


Only because apparently you don't make proper use of Dataflow and TPL libraries.

Besides, the recent security exploits have proven that it is time to go back into multi-processes, and here Rust doesn't have anything to offer.

So one should tune a bit down the tone of labelling all the other languages as unsafe, even managed ones, industry standards like SPARK, or system research languages like ATS.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: