r/cpp • MSVC user, r/cpp_modules • Apr 29 '26

Cpp Files Still Help Breaking Build Dependencies of Modules

https://abuehl.github.io/2026/04/23/cpp-files-still-help-breaking-dependencies.html

Nothing spectacular, but it helps to remember that cpp files still provide another level for breaking dependencies.

5 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/pjmlp May 04 '26

The problem is that VC++ with MSBuild is really the only usable workflow for doing modules based development.

On macOS and iDevices, Apple doesn't care, the old clang header maps are the way to go, also what is supported for improved build times, incremental linker and Swift/C++ integration.

On Android, C++17 is still the latest officially supported version.

On .NET, C++/CLI doesn't support modules, only the remaining bits of C++20.

When writing Python or nodejs extensions, the build infrastructure doesn't do C++ modules.

And even Microsoft doesn't do modules yet, there are no C++ SDKs in active development with modules support, regardless of VC++ plus MSBuild state. Or the sad state of EDG frontend, and VS/VSCode integrations.

I understand your endevour, but for cross-platform code they are still years away of proper support.