logoalt Hacker News

cmovqyesterday at 7:05 PM2 repliesview on HN

Can someone using modules chime in on whether they’ve seen build times improve?


Replies

nickelproyesterday at 7:35 PM

import std; is an order of magnitude faster than using the STL individually, if that's evidence enough for you. It's faster than #include <iostream> alone.

Chuanqi says "The data I have obtained from practice ranges from 25% to 45%, excluding the build time of third-party libraries, including the standard library."[1]

[1]: https://chuanqixu9.github.io/c++/2025/08/14/C++20-Modules.en...

show 1 reply
vitautyesterday at 10:21 PM

We did see build time improvements from deploying modules at Meta.