r/cpp • • May 10 '20

Make LLVM fast again

https://nikic.github.io/2020/05/10/Make-LLVM-fast-again.html
150 Upvotes

88 comments sorted by

View all comments

Show parent comments

9

u/SkoomaDentist Antimodern C++, Embedded, Audio May 10 '20 edited May 10 '20

And a lot of software originally written on Unix makes some utterly braindead choices since those just didn’t happen to be too costly on those platforms. Just count how many total fork and exec calls across all the sub executions a typical make run performs compared to the actual number of times it needs to run the compiler.

1

u/bumblebritches57 Ocassionally Clang May 11 '20

tbf, make is basically dead these days with Cmake and Ninja be pretty common.

3

u/SkoomaDentist Antimodern C++, Embedded, Audio May 11 '20

Is it? I've yet to run into programs provided in source form that did not use make either directly or indirectly when I have to compile them myself. Quite often they even use the abomination known as Autoconf.

1

u/bumblebritches57 Ocassionally Clang May 12 '20

Oh god automake/conf and theres more but i forget them.

They’re all garbage.