News for hackers. Stuff that matters.
Re:Trying out C++20's modules with Clang and Make by maccard on Sunday October 15, 2023 @03:09PM (#37892467)
If module files are pretty much memory dumps that makes it all the more frustrating that it's taken this long, given thats what precompiled headers essentially are.
Re:Trying out C++20's modules with Clang and Make by mathstuf on Sunday October 15, 2023 @04:56PM (#37893317)
There are new rules about "reachability" and "module linkage". Not to mention things like methods defined within the class declaration are no longer as-if `inline` when within a module. It's not just "a faster preprocessor" mode; there are real rules associated with module boundaries.