4 ms·
How about the garbage collector? For really performance sensitive applications you'd turn it off and resort to manual memory management?
by sushidev 8y ago
How about the garbage collector?
For really performance sensitive applications you'd turn it off and resort to manual memory management?
- dom96 8y agoYes, but the GC is very flexible so you might get away with using its soft real-time features[1]. 1 - https://nim-lang.org/docs/gc.html https://nim-lang.org/docs/gc.html
- andrewchambers 8y agoNim also has a stack based region allocator, but it didn't seem too well documented when I tried to use it.
- mratsim 8y agoYou can also mix GC-managed and manually allocated types in the same codebase.