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

Does anyone know the state of modules (so as to support something like npm) in C++?


Modules (in the C++ terminology) and a package manager like npm are two different beasts. Modules are not part of C++17, although Clang and MSVC both bake their own bread with implementation of the current modules draft.



There are still issues being worked out. They are solvable, but there is a challenge in getting consensus on a particular set of decisions about how to implement modules.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: