2 ms·
This is just not true. There's nothing that makes C++ inherently slow to compile. PImpl doesn't need to have a performance hit as you can implement it with a l
by SuperV1234 1y ago
This is just not true. There's nothing that makes C++ inherently slow to compile.
PImpl doesn't need to have a performance hit as you can implement it with a local fixed-sized buffer that's not heap-allocated.
You can also design your C++ codebase exactly as you would in C, so there's literally no reason why you'll need to recompile more in one language compared to the other.
- jokoon 1y agoC++ is not context free. A quick google "c++ grammar" will give you clues that C++ is not you average language. Templates are also turing complete, and probably not trivial to parse. Of course I am not talking about C++98, but C++14, 17, etc, which add significant stuff.