3 ms·
> esoteric compiler optimizations The D programming language design is based in part on my experience with designing and building compiler optimizers, includin
by WalterBright 6y ago
> esoteric compiler optimizations
The D programming language design is based in part on my experience with designing and building compiler optimizers, including the first data flow analysis C compiler for DOS.
It's why D has, for example, immutable types rather than just const types. (You can't optimize C const pointers because another mutable reference to the same value can change it.) D's contracts are also designed with an eye towards enabling optimizations.