Boost logo

Boost :

From: Daniela Engert (dani_at_[hidden])
Date: 2022-04-05 18:04:44

Am 05.04.2022 um 19:59 schrieb John Maddock via Boost:
> On 05/04/2022 14:09, Daniela Engert via Boost wrote:
>> Hi John,
>> thanks for bringing up the topic of C++20 modules in the realm of Boost!
>> Am 05.04.2022 um 13:58 schrieb John Maddock via Boost:
>>> The title says it all really, but in more detail:
>>> 1) Is there any existing best practice we should follow yet?
>> WG21 SG15 is about to come up with a document on that. Until then,
>> I've touched this in my Meeting 2019 talk on modules, "Modules - the
>> beginner's guide"
> Nice talk, the performance comparisons were pretty impressive, but no
> comparison to precompiled headers?

Thanks, but no - I'm not a fan of PCHs. They don't compose. Go with
header units instead if you feel like, they are PCHs on steroids. PCHs
are just huuuge and don't provide the same benefits as modules do like I
tried to explain in my other reply on this thread. Modules move more
compiler work to the one-time compilation of the PMIU than PCHs ever can.

 Â  Dani

PGP/GPG: 2CCB 3ECB 0954 5CD3 B0DB 6AA0 BA03 56A1 2C4638C5

Boost list run by bdawes at, gregod at, cpdaniel at, john at