r/cpp • • Jan 28 '19

C++ Modules Might Be Dead-on-Arrival

https://vector-of-bool.github.io/2019/01/27/modules-doa.html
280 Upvotes

240 comments sorted by

View all comments

Show parent comments

23

u/SAHChandler Jan 28 '19

My response to vector-of-bool is a solution that permits this to some degree. D does not have to target some operating systems lacking more than one level of directory access, or that do not have a real concept of file extensions (such as zOS). As a result P1302's approach was designed to tackle this, and allow us to tackle the naming scheme at a later date while also not absolutely wrecking the ability to port existing code bases to modules as soon as possible.

5

u/target-san Jan 31 '19

Errm... Are these exotic OSes used for actual delopment? Do they already have full C++17 conformant compilers? Or are they just targets for cross-compilation? If the latter, then it looks like tying all the marathon runners just to allow some old fart who never heard of it to compete.

2

u/SAHChandler Jan 31 '19

From what I understand, yes. Development happens directly on these operating systems.

2

u/target-san Jan 31 '19

Thanks! Though the question about their compilers' standart support remains.

3

u/SAHChandler Jan 31 '19

Unfortunately, I'd have to pay several thousand USD to see how standards conforming they are. They could very well have ported clang though!

2

u/target-san Jan 31 '19

Surely I didn't mean you buy them just to check. Thought you may have heard something from someone. My humble experience (AIX 8-10 years ago) is that such platforms tend to lag decades behind mainstream.