2 ms·
Some did (SPARK for example), but they sacrificed dynamic allocation (i.e. malloc). Rust's real innovation (in an industry sense) is safe dynamic allocation wit
by pcwalton 11y ago
Some did (SPARK for example), but they sacrificed dynamic allocation (i.e. malloc). Rust's real innovation (in an industry sense) is safe dynamic allocation without GC.
- pjmlp 11y agoAnd I wish it manages to succeed, if it wasn't for Rust, the C++ Core Guidelines wouldn't be a thing.
- masklinn 11y ago> if it wasn't for Rust, the C++ Core Guidelines wouldn't be a thing So in a way, Rust has already succeeded.
- catnaroek 11y agoSo, basically, the only thing that is ever dynamically allocated in SPARK is activation records? Sounds overly restrictive.
- PeCaN 11y agoATS has had this (via linear types like Rust) for a while, but it's a massive pain to use. Rust's main innovation is gluing together existing ideas with a powerful community backing.