(no title)
quic5 | 2 years ago
What I'm trying to say: There are use cases where areas of safety are required other than memory safety.
quic5 | 2 years ago
What I'm trying to say: There are use cases where areas of safety are required other than memory safety.
nevi-me|2 years ago
lmm|2 years ago
memefrog|2 years ago
There are plenty of 'use cases' where Rust's guarantees (some vague but unenforceable promises around memory) are not worth the cost of using Rust (a very high cost). This is doubly true if you want to, say, not use any third-party libraries. If you use third-party libraries, you get essentially zero guarantees. And if you don't, you have to reinvent the world - and writing new data structures in Rust is a series of research projects, whereas doing so in C is trivial.
There are many situations where guaranteed 'memory safety' (a Rust propaganda term for 'having the guarantees we can provide but not the ones we can't provide') is not very important.
quic5|2 years ago
jdrek1|2 years ago
throwawaymaths|2 years ago
Operating system bootstraps?
DMA management/volatile driver access?
Doubly linked lists?
grumpyprole|2 years ago
johnisgood|2 years ago
For what it is worth, Ada/SPARK has a strong presence in safety-critical domains like aerospace and medical devices, while Rust is gaining popularity in system programming and web development. ^^ I'm surprised that it is not as widespread. That, or lots of misconceptions.
TheFragenTaken|2 years ago
Ygg2|2 years ago