Live data from Hacker News

Are We Modules Yet?

arewemodulesyet.org

1–10 of 94 posts

Re: Are We Modules Yet?

#3
I love this having just started reading through the C++ 20 stuff.

However, a key opportunity is missed in that neither the icon nor the site links in the footer linked to a short definition of the language before modules (the lack), the impact of modules on the design of the language at present (the real) and its place in the future of programming languages (the imaginary and the symbolic).

Re: Are We Modules Yet?

#4
I think calling GCC's support of modules "partial" is a tad generous. It's pretty easy to hit ICEs/segfaults when trying to use modules with GCC, which is a good reason why it's not worth it for libraries to support modules at all.

Re: Are We Modules Yet?

#5

I love this having just started reading through the C++ 20 stuff. However, a key opportunity is missed in that neither the icon nor the site links in the footer linked to a short definition of the language before modules (the lack), the impact of modules on the design of the language at present (the real) and its place in the future of programming languages (the imaginary and the symbolic).

Funny... me and the first poster clicked reply at the same moment indistinguishable from the HN front-end. The meta point is the same.

Re: Are We Modules Yet?

#7
Is it just me or does it seem like modules are a good idea which is totally dead on arrival? It's been four years, and we've had a whole new edition of c++ standard in the meantime, and Clang and GCC still don't have full support for modules.

Re: Are We Modules Yet?

#8
I wrote my own build system to use C++20 modules before CMake even had support for them, and while I have probably had net benefit from using them, I can’t recommend them for anyone in their own projects at this point.

The feature has so many irregularities that could only come out of a standards process, there are too many compiler bugs (just try using header units), the different implementations are too fragmented (I’m only using clang, which makes this easier on me), and there is a lack of things like module maps that would dramatically improve usability.

Post reply on HN