3 ms·
Rust does not free you from having to track memory, for large classes of important data structures. And, if you want to implement smart pointers for your app i
by dnautics 5y ago
Rust does not free you from having to track memory, for large classes of important data structures. And, if you want to implement smart pointers for your app in zig, it is easy.
Yes, your examples are two proprietary, nonstandard techniques. Or alternatively using a third-class toolset (jemalloc toolkit e.g ).
Sanity is having a single, anointed way to do it in the stdlib.