Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We are at least getting modules real soon now: https://en.cppreference.com/w/cpp/language/modules


We've been getting them real soon for… about 5 years now?


They were supposed to be part of C++11, back when it was called C++0x, before getting punted. So more like almost 20 years now (since some time after C++03.)


Java is still trying to get value types.

Some things take time when trying to avoid Python 2 / 3 scenarios.


The Python 2/3 scenario was because of breaking backward compatibility, which is not the case for C++ modules.


The only compiler that seems to care about implementing modules is MSVC. It'll be "real soon" when GCC stops crashing.


I think there's a GCC branch that implements module, and it seemed pretty stable. But there must be a reason why it's not merged yet so you're most likely right.


Many are quite happy to only use VC++.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: