5 ms·
Surely the value proposition of Rust is fewer security vulnerabilities than an equivalent C program.
by garethrowlands 5y ago
Surely the value proposition of Rust is fewer security vulnerabilities than an equivalent C program.
- justbored123 5y ago
- lamontcg 5y agoAnd no garbage collector pauses or tuning.
- pjmlp 5y agoPauses happens when using Rc types with a cascade deletion of deeply nested data structures, and if Drop are incorrectly written, even a possible stack overflow might occur.
- zozbot234 5y ago> Pauses happens when using Rc types with a cascade deletion of deeply nested data structures True, but this is inherent to deterministic deallocation. Rust is getting local allocator support to make it easier to manage these tradeoffs. (Local allocators are commonly used already in C/C++.)
- pjmlp 5y agoOnly the call is deterministic, not how long it takes to return. Local allocators are also a thing in many languages with automatic memory management.
- garethrowlands 5y agoWell, if you just wanted no garbage collector, you could use C.