Delicious ZeroMQ recipes!
Tested on Ubuntu 20.04(WSL2).
Install clang compiler, zmq lib and Google unit test gtest. We need python3 to install Google cpplint and latest cmake package.
$ sudo apt install -y clang libczmq-dev libgtest-dev python3If you want setup pip3 package bin.
$ echo "export PATH=\$PATH:\$HOME/.local/bin" >> .bashrc && source .bashrcInstall cmake.
$ pip3 install --upgrade cmake $ sudo apt -y install uftrace valgrindDo uftrace to find performance tuning points.
$ uftrace mainDo valgrind to check memory leaks.
$ valgrind mainDo Google cpplint to lint up code.
$ cpplint main