Re:Why should I have written ZeroMQ in C, not C++ (2012)
by overgard on Thursday December 13, 2018 @12:46AM
(#18670140)
Given that C++ is a superset of C I don’t get why the author wouldn’t just cherry pick the features he needs. Nobody is forcing you to use exceptions or the STL in C++ but you can still get templates and namespaces and smart pointers and references and const and better string handling...
[ Parent
| on HN ]
Re:Why should I have written ZeroMQ in C, not C++ (2012)
by dkrikun on Thursday December 13, 2018 @12:57AM
(#18670187)
C++ is definitely not a subset and its not just from purely linguistic considerations.
Also, given that zeromq is a community-driven project, requiring the contributors to use C++ but avoid 50% of features is weird and non-idiomatic at best.
If you want to C -- C.