r/cpp • u/holyblackcat • Mar 09 '26
The compilation procedure for C++20 modules
https://holyblackcat.github.io/blog/2026/03/09/compiling-modules.html
103
Upvotes
r/cpp • u/holyblackcat • Mar 09 '26
View all comments
Show parent comment
9
u/holyblackcat Mar 09 '26 edited Mar 09 '26
At least in one example I tested it on, creating a full BMI ended up slower than creating a reduced BMI with an object file. (The benchmarking results are in the post.)
"benchmark compares LLVM compilation using Ninja vs. HMake" I have to say, the benchmark being a link to a Claude chat certainly makes it less convincing. :P Even if it was benchmarked correctly.