Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gpu64
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
gpu64
3y ago
Yeah, how much modules/PCHs would help probably depends a lot on your code base. I read about clangs work on modules and they seemed a bit uncertain if you'd get much benefit at all once you switch on optimizations. https:/
2.
▲
by
gpu64
3y ago
I used cloc so blank lines and comments should be ignored.
3.
▲
by
gpu64
3y ago
It's crazy to see how much work header files make the C++ compiler do just to build hello world: $ gcc -E hello.c | cloc --force-lang=c - 419 $ g++ -E -std=c++11 hello_iostream.cpp | cloc --force-lang=c++ - 20707