3 ms·
I interpret it as meaning they don't use dynamic memory allocation.
by BenjiWiebe 5y ago
I interpret it as meaning they don't use dynamic memory allocation.
- ncmncm 5y agoFalse. Use of dynamic memory allocation without GC, without reference-counting (which is GC) and without manual memory management is the usual practice in C++ and Rust. Reference-counting GC is available when it is not too costly, which is common, and more convenient, which is rare. Ordinary automatically-generated destructors handle almost everything, almost all the time. Once in a great while, performance demands a concession such as an arena allocator, which also is not "manual memory management", and also not GC, and is radically cheaper than either one.