3 ms·
Or, the other valid solution: 1. Write the whole thing in valid C89 2. Prevent users from having to use Boost or the rest of the C++ nonsense 3. Users can no
by angersock 13y ago
Or, the other valid solution:
1. Write the whole thing in valid C89
2. Prevent users from having to use Boost or the rest of the C++ nonsense
3. Users can now write trivial language bindings and link at runtime easily.
4. Profit.
~
C++ is a cool bro and all, but honestly the solutions you've listed make it annoying to work with this code outside of C++ on a platform with subgood template support.
Moving a simple utility library like ZMQ to C makes a great deal of sense.
- easytiger 13y agoWho said anything about boost? afair zmq compiles with no boost dependencies
- angersock 13y agoRead the thread--as per usual, the stock response to criticisms of C++ (here, the difficulty with intrusive lists) is "USE MOAR BOOST!1111one". Now, it's a very useful library, but it's also an amazingly tired refrain.
- X-Istence 13y agoEventhough the backend for ZeroMQ was written in C++, the front-end, and the main language bindings as it were, are in C. That means it was already trivial to write language bindings.