3 ms·
THey didn't write a new compiler. They did have some work to make their codebase work on LDC, the LLVM-backend implementation of D. Rewriting the standard libr
by yvdriess 8y ago
THey didn't write a new compiler. They did have some work to make their codebase work on LDC, the LLVM-backend implementation of D.
Rewriting the standard library for performance is not unique to D. Game developers famously avoid stl/stdc++ (https://github.com/electronicarts/EASTL https://github.com/electronicarts/EASTL). The reasons behind that seems to be similar: optimizing memory allocation to their specific use case.