"Tokenization and parsing are some of the most expensive operations in compiling C++. In my own tests, parsing can consume up to 30% of compilation time for files with a large preprocessed output"
https://vector-of-bool.github.io/2019/01/27/modules-doa.html
Wowza! I thought this was a problem unique to JS.
miniblog.
Related Posts
A cute systemd feature to get the system clock roughly correct: if the system time is before the compilation time of the systemd binary, it moves the clock forward to that time!
Some delightful examples of good compiler error messages in the latest Gleam release:
I've been compilation buffers in Emacs recently and I really appreciate the error and warning counts shown in the modeline.
I've added the equivalent feature to deadgrep: it shows result counts! Really useful when you're doing big refactorings.
