3 ms·
Only compacting GCs need to pause application. It is possible to implement GC without pauses.
by pebal 4y ago
Only compacting GCs need to pause application. It is possible to implement GC without pauses.
- pkolaczk 4y agoYes, it is, but not without a cost. High throughput, no pauses, low memory overhead - pick two. However, stack-based allocation + statically inferred memory management + a tiny addition of reference counting only where needed (like in C++ or Rust) can easily get you all of those features in one program.