Adding Modules to C in 10 Lines of Code

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Jun 6 11:00:09 UTC 2022


On Monday, 6 June 2022 at 01:05:38 UTC, zjh wrote:
> On Monday, 6 June 2022 at 00:19:16 UTC, zjh wrote:
>
>>> Because it's fun to be first!
>> Yes, `'d'` is always independent.
>
> [C++'s 
> moudle](https://www.oschina.net/news/198583/c-plus-plus-23-to-introduce-module-support)
>
> `D`, hurry up and get nervous.

C++ has had modules for a while, but only Microsoft has a fully 
compliant implementation:

https://en.cppreference.com/w/cpp/language/modules
https://en.cppreference.com/w/cpp/compiler_support/20

Give it a year to be fully usable across compilers.



More information about the Digitalmars-d-announce mailing list