3 ms·
> How can you have a real memory safe application when the memory itself is managed by a shit ton of code written in an unsafe language? It turns out actually
by parl_match 2y ago
> How can you have a real memory safe application when the memory itself is managed by a shit ton of code written in an unsafe language?
It turns out actually pretty effectively? There are going to be more bugs and boundary issues of the OS, but memory unsafety isn't some goop that oozes into your runtime.
- dmurray 2y agoRight, or equivalently, you can rely on the million eyeballs and the million developer-years poured into those OSes, while developing your project with a much smaller team.
- eknkc 2y agoYeah just a hyperbole. My point is, people act like anything built with non memory safe languages is shit ever since Rust became the Jesus. We have the actual operating systems written in C, working ok. It is fine. Yeah maybe Rust would be better but it is not a magic bullet and memory safety comes with many caveats in design of the code and possible performance issues when you are building something low level like a browser.
- deleted 2y ago[deleted]