C++ Features Banned By Google

Walter Bright newshound2 at digitalmars.com
Sun Jan 25 18:47:17 UTC 2026


On 1/24/2026 9:39 AM, H. S. Teoh wrote:
> You have to precompile headers before they can be used as a
> module?  That sounds unusually onerous, compared to, say, D, where the
> compiler just parses the source file directly and the user doesn't have
> to do anything extra.

My initial thought on modules for D is precompiling them. But I soon realized 
that it was faster to just parse them than read in a binary file and sort it 
into D's internal data structures.

Another problem with precompiled modules is it will add much complexity to the 
build system.



More information about the Digitalmars-d mailing list