3 ms·
D has a pluggable GC, if that's what you mean. It makes trying out various GC strategies easy without modifying the compiler. D also supports the following mem
by WalterBright 3y ago
D has a pluggable GC, if that's what you mean. It makes trying out various GC strategies easy without modifying the compiler.
D also supports the following memory allocation strategies:
1. RAII
2. stack allocation
3. malloc/free
4. custom alloctors
Each has its tradeoffs, you can pick the most appropriate one. The D compiler itself uses all of them :-/