3 ms·
As aside: I just discovered that the language authors are converting the std library (phobos) to be "no GC".
by FraaJad 11y ago
As aside:
I just discovered that the language authors are converting the std library (phobos) to be "no GC".
- WalterBright 11y agoIt's a little more nuanced than that. Phobos is moving towards a more pipeline style, of which http://dlang.org/phobos/std_algorithm.html http://dlang.org/phobos/std_algorithm.html is a standout example. Algorithms, by and large, do not need to dynamically allocate memory. By converting more of Phobos to being algorithms, they become agnostic to whatever allocation method is used. Allocation strategy becomes a high level decision, rather than a low level one.