News for hackers. Stuff that matters.
Re:Organizations Using the D Language by WalterBright on Tuesday February 16, 2021 @05:45PM (#26159755)
The fastest memory allocator is no-allocation allocation. D has some cool methods for doing that, like the chain template and voldemort types.

For example, chain can be used to "concatenate" two arrays without allocating a byte.

https://dlang.org/phobos/std_range.html#chain

https://wiki.dlang.org/Voldemort_types

There are no comments on this comment yet.