6 ms·
C and C++ are different languages. It's subjective, but both are generally more difficult than garbage collected languages because you have to think about memor
by binarynate 3y ago
C and C++ are different languages. It's subjective, but both are generally more difficult than garbage collected languages because you have to think about memory management and they don't have some of the high-level utilities other languages do (like an easy to use timer). IMO, modern C++ isn't too gnarly (it has a nice standard library that with components like smart pointers and containers), but it's still a PITA compared to garbage collected languages because it builds slowly and you do have to think about memory management like I mentioned. C is gnarlier IMO because its standard library is much more bare bones and it doesn't have the built-in smart pointers or containers that C++ has.