3 ms·
C++ is very different from C, one language is actually usably expressive the other can’t even express a generic vector data structure without runtime overhead o
by kaba0 4y ago
C++ is very different from C, one language is actually usably expressive the other can’t even express a generic vector data structure without runtime overhead or copy-pasting.
- flohofwoe 4y agoNot going to argue, but if you really want generics in C the usual solution is code generation. Also, it might be surprising to a C++ coder, but there's a lot of problems that can be solved perfectly fine without generics ;)