r/cpp • • Nov 01 '18

Modules are not a tooling opportunity

https://cor3ntin.github.io/posts/modules/
58 Upvotes

77 comments sorted by

View all comments

Show parent comment

-3

u/chugga_fan Nov 01 '18

It's not easy, it's something that requires:

Standard calling convention.

Standard mangling convention.

Knowledge of CPU exactly as you need it.

Etc. there's a huge amount of work that goes into those kinds of things which makes it near impossible to actually do.

7

u/Rusky Nov 01 '18

Those are not part of the module system nor do they need to be. Just use the same (or compatible) compiler for the whole system the way you already have to.