4 ms·
What's "pretty large"? It's fair to say that compilation is quick, but that's meaningless without a comparison. For example, you can generate really short C++
by niggler 14y ago
What's "pretty large"? It's fair to say that compilation is quick, but that's meaningless without a comparison.
For example, you can generate really short C++ programs that exploit the template mechanism to perform heavy calculations at compile time.
- shadowmint 14y agoIt's not a scientific test or anything, but the results are so marked it's almost worth not even bothering to measure it: 24k loc of C (24743 total excluding headers and comments), using ninja and cmake, without using the autofail tool suite (which ups the time taken about about 150%): $ time make ... real 0m16.929s user 0m9.952s sys 0m4.641s 23kloc of go code (23588 total excluding comments): $ time go build ... real 0m1.667s user 0m1.331s sys 0m0.214s