Hacker News new | ask | show | jobs
by maccard 6 days ago
What early adopters are using them? Because my impression is the tooling still isn’t there
2 comments

People using Visual C++ with MSBuild, or clang with CMake and ninja.
It’s been 6 months but last time I checked neither IntelliSense nor clangd worked with modules. The build tools have been just about functional for a while though, you’re right.
Yeah, Intelisense is a bummer, but you really need VS proper, nor VSCode, which I assume given the clangd reference.

Whereas one kind of works (VS), there is apparently no work going on VSCode Intelisense, ticket is stalled since January, and the promised announcement never came up.

CMake says they are there. Other tools mostly are not.

Nobody has said they are using them in anything important, but hopefully that is coming.

CMake has support for named modules but does not support header units or C++23 module features such as import std;
Import std has been there for a while but is experimental until gcc supports it. Gcc just for that support so it should be mainline soon.
We are now getting close to the distance between c++03 and C++11 for making basic modules work on main line toolchains and build systems. That’s absolutely wild.