3 ms·
There's a tradeoff, however. You can trade C++'s compilation time for the program's runtime, in many cases. You can now do quite a lot at compile time in C++ th
by hellofunk 9y ago
There's a tradeoff, however. You can trade C++'s compilation time for the program's runtime, in many cases. You can now do quite a lot at compile time in C++ that is not possible in C.
Therefore, technically, C++ has slower compilation time but potential for faster runtime.