Re:Speeding up C++ build times
by WalterBright on Sunday April 28, 2024 @11:36PM
(#40194158)
How it works with D is you can do separate compilation:
or do it all in one go:
Over time, the latter became the preferred method. With it, the compiler generates one large .o file for a.d and b.d, more or less creating a "pre-linked" object file. This also means lots of inlining opportunities are present without needing linker support for intermodule inlining.
[ Parent
| on HN ]
There are no comments on this comment yet.