Add short description on GC (#16535)

This commit is contained in:
Federico Ceratto 2021-01-01 17:36:20 +00:00 • committed by GitHub
commit e67059a03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,10 +14,15 @@ Nim's Memory Management
Introduction Introduction
============ ============
This document describes how the multi-paradigm memory management strategies work. A memory-management algorithm optimal for every use-case cannot exist.
How to tune the garbage collectors for your needs, like (soft) `realtime systems`:idx:, Nim provides multiple paradigms for needs ranging from large multi-threaded
and how the memory management strategies that are not garbage collectors work. applications, to games, hard-realtime systems and small microcontrollers.
This document describes how the management strategies work;
How to tune the garbage collectors for your needs, like (soft) `realtime systems`:idx:,
and how the memory management strategies other than garbage collectors work.
.. note:: the default GC is incremental, thread-local and not "stop-the-world"
Multi-paradigm Memory Management Strategies Multi-paradigm Memory Management Strategies
=========================================== ===========================================