Re:Yet Another TypeSafe and Generic Programming Candidate for C
by brightprogramer on Wednesday September 10, 2025 @03:08AM
(#45194256)
It also compilers way faster than C++ code if that interests you :-)
[ Parent
| on HN ]
Re:Yet Another TypeSafe and Generic Programming Candidate for C
by Panzerschrek on Wednesday September 10, 2025 @03:14AM
(#45194305)
I agree, C++ code compilation is generally slower compared to C. But the compiler itself isn't particularity slower (under the hood it's the same compiler), but compiling C++ code with a lot of templates is slow.
For me personally compilation slowdown is just a price, which I am ready to pay for more language features, including better abstractions and type safety.