Date: Tue, 04 Feb 2025 15:00:24 -0800
On Tuesday 4 February 2025 13:11:19 Pacific Standard Time Hyman Rosen via Std-
Proposals wrote:
> "My compilation is too slow when I include standard headers" sounds like a
> tooling issue, not something the language needs to address.
It is, but it's also something that the tooling can't *really* fix. The headers
are growing and the standard dictates what headers must declare what. It's
much easier to fix all libraries not in the Standard because they get to decide
what headers contain what.
The compiler could come with precompiled versions of the C++ Standard
Libraries (because they often come from the same source) to speed this up, but
that won't eliminate the problem.
Modules might, but I wonder if what will come first: modules widely deployed or
nuclear fusion.
Proposals wrote:
> "My compilation is too slow when I include standard headers" sounds like a
> tooling issue, not something the language needs to address.
It is, but it's also something that the tooling can't *really* fix. The headers
are growing and the standard dictates what headers must declare what. It's
much easier to fix all libraries not in the Standard because they get to decide
what headers contain what.
The compiler could come with precompiled versions of the C++ Standard
Libraries (because they often come from the same source) to speed this up, but
that won't eliminate the problem.
Modules might, but I wonder if what will come first: modules widely deployed or
nuclear fusion.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Platform & System Engineering
Received on 2025-02-04 23:00:26