Get the latest tech news

The road to hell is paved with good intentions and C++ modules (2023)


The major C++ compilers are starting to ship modules implementations so I figured I'd add more support for those in Meson. That resulted in ...

Or that Clang's module scanner does not support a -o command line argument to write results to a file, but instead it dumps them to stdout. Or, in the case of CMake, have the end user manually type the format of each source file, even if it had an extension that uniquely specifies it as a module. The immediate consequence of this is that the Ninja file must not contain any command line arguments with module names in them.For now we assume a project having only one executable target.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of hell

hell

Photo of road

road

Photo of C++ modules

C++ modules

Related news:

News photo

Reverse engineering ESP32 Wi-Fi driver: the road ahead

News photo

AMD's CFO Jean Hu talks CPUs, GPUs and the road ahead

News photo

A Road to Common Lisp (2018)