3 ms·
> The huge majority of allocated objects gets garbage-collected after a very short time, when they leave the context (similar to RAII). Those objects are also
by pkolaczk 3y ago
> The huge majority of allocated objects gets garbage-collected after a very short time, when they leave the context (similar to RAII).
Those objects are also virtually no problem in languages like Rust or C++. Those are local objects whose lifetimes are trivial and they are managed automatically with no additional effort from the developer.