C++ Modules

So, as a followup to the C++ post, here's another super-interesting piece of information.

Published on Friday, 21 December 2012

So, as a followup to the C++ post, here's another super-interesting piece of information, proving that someone over there has their eye on the ball: C++ Modules.

For those, like me, who always wondered what the deal was with .h files, and, when they asked, always got the same stupid answer: how would the compiler know what classes/methods/variables/whatever were available elsewhere in the program? That, of course, is nonsense. Other programming languages have solved this problem many many times, all without header files and #include directives.

Now, a solution for C++ has been proposed: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf