4 ms·
> Does not have manual memory management That is a misunderstanding. If you would like to avoid pauses in c, you must be careful about how you allocate, what
by moonchild 5y ago
> Does not have manual memory management
That is a misunderstanding.
If you would like to avoid pauses in c, you must be careful about how you allocate, what you put where, &c; you cannot simply use malloc and free. Similarly, if you would like to avoid pauses in a gc language, you must be careful about how you allocate, what you put where, &c; you cannot simply allocate.
These techniques are actionable in any language. Java 'has' automatic memory management, but it also 'has' manual memory management (if you implement it).
- voidnullnil 5y agoNot without relying on implementation details.
- moonchild 5y ago? no In almost any language with automatic memory management, I can portably make my own freelists, regions, temporary (reused) buffers, ...