by tomlu · 10y ago · 0 comments
https://blogs.msdn.microsoft.com/vcblog/2015/12/03/c-modules...
Regarding templates, the approach is similar to the deprecated export keyword, so partially compiled templates and inline functions are stored in the metadata database used by the compiler for modules.
Bjarne was of course aware of modules, being brought on Simula and other programmer friendly languages, but then he had to make C++ code fit into UNIX linkers that only knew about AT&T Assembly and C binary formats.
So no modules there, and along the years you got a culture of developers, specially those that only learn on the job, that never learned about modules and its history.
You see it happen also when cache friendly code and RAII get discussed.
Those things were also possible outside the C family of languages, before they won the market. So most millennials think that they are some special language capabilities only possible in C and C++.