2 ms·
It does remind me of dynamic typing vs static typing difference, except C++ is "dynamically owned", and Rust is "statically owned". With the dynamism you have
by pornel 4y ago
It does remind me of dynamic typing vs static typing difference, except C++ is "dynamically owned", and Rust is "statically owned".
With the dynamism you have the freedom to make whatever ad-hoc memory management constructs you like without formally explaining them to the compiler, but also you don't get compile-time guarantees that they are correct.