2 ms·
20 seconds of googling turned up several answers which only require about 30 lines of C++, e.g. http://stackoverflow.com/questions/37765847/send-json-object-thr
by jawilson2 10y ago
20 seconds of googling turned up several answers which only require about 30 lines of C++, e.g. http://stackoverflow.com/questions/37765847/send-json-object-through-zmq-with-c-client-python-server http://stackoverflow.com/questions/37765847/send-json-object....
cmake is pretty awesome at handling dependencies; our build process grabs dependencies from git and adds them to the project. Yes, there is more overhead and a learning curve, and if you are running a simple server there are probably better choices; we use a ton of python for these things, and wrap performant code in cython.
- justinsaccount 10y ago> 20 seconds of googling turned up several answers which only require about 30 lines of C++, OK... Now how do you turn those 30 lines of code into an actual project that you can build and cross compile? Write 100 lines of cmake stuff to build 30 lines of code? I think if I was starting from scratch I'd try to use something like bazel.