4 ms·
To steelman the idea a bit: giving more context for the GC is not the same as manual memory management. Better static analysis of programs can precompute a lot
by eru 8y ago
To steelman the idea a bit: giving more context for the GC is not the same as manual memory management.
Better static analysis of programs can precompute a lot of GC decisions.
Allocation on the stack is one example of that kind of optimisation. But you can imagine more sophisticated optimizations.