Modules support in visual studio

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • STL

    MSVC's implementation of the C++ Standard Library.

    Crucially, while we do have testing for Standard Library Header Units (in both "separate" and "deduplicated / topologically sorted" forms - see tests/std/tests/P1502R1_standard_library_header_units), and as a result the compiler is increasingly capable of handling the Standard Library's patterns, we do not yet have testing for Boost being consumed as header units. (We do have testing of Boost and many other OSS projects with the latest development builds, including in /std:c++latest mode, but that doesn't exercise header units.) Sometimes, very small things can end up triggering an ICE or other compiler error - for a couple of examples that I've encountered in the STL, having unnecessary forward declarations (template class numeric_limits; after the definition has already been seen), or declaring a member function in one header and defining it in another header (this was pair's piecewise constructor), have caused problems (now fixed).

  • TextLayoutSampler

    Utility to display text via multiple Windows API's simultaneously (D2D, DWrite, GDI, GDI+).

    I can identify with that pain. I first started modularizing one of my projects in 2017, and after reporting another bug, I'd try every new VS release, only to make it another 20% further in the build and encounter another internal compiler issue. Though, it did finally build 100% in VS 2019, consuming Windows.h, some DirectX headers, and various std headers. Boost though, that might still be a beast of complexity beyond.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts