nng
cppzmq
Our great sponsors
nng | cppzmq | |
---|---|---|
9 | 2 | |
3,562 | 1,836 | |
1.7% | 2.2% | |
9.0 | 5.8 | |
2 days ago | about 2 months ago | |
C | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nng
- nng is "nanomsg next generation", a wire-compatible C99 rewrite of the C library libnanomsg, with a similarly permissive MIT license. Pub/Sub, RPC-style Request/Reply, or Service Discovery, without worrying about details like connection management or retries.
-
RPC lib?
I just published the other day some bindings to the NNG message passing library (https://nng.nanomsg.org/). You can do request/reply, publish/subcribe and other communication patterns. It's trivial to serialize (with Binary for example) any data structure and pass it around the network:
-
[ANN] nng: Bindings for NNG (https://github.com/nanomsg/nng)
I put together quickly a binding to the NNG! library, it's simply a fork of the existing binding to Nanomsg! updated to work with NNG using the "compatible API". For basic usage seems to work pretty well:
-
Neovim architecture
I’m considering using msgpack + nng or msgpack + zmq
-
Any good lightweight c++ local socket library for embedded Linux?
I've found NNG to be high quality, also has less restrictive license. https://nng.nanomsg.org/
-
What is the best (and easy) way to make 2 different python projects communicate? They are on the same server for now but have different conda envs.
for communication between a Discord bot and other applications on the same machine I have used ZeroMQ - relatively easy to use, very portable but still flexible enough. (I've heard though that ZeroMQ has been somewhat superseded by nng nowadays)
-
I hate ASIO and I can't be alone.
I agree with this, but would add NNg as a good messaging library. It’s the successor to the spiritual successor of ZeroMQ.
- NNG – nanomsg-NG (rewrite of nanomsg)
-
How to use socket programming in cpp to chat over the same Wi-Fi network
you can also look into https://github.com/nanomsg/nng
cppzmq
-
Question regarding method definition and .lib files
I found that I knew almost nothing about C++ and had to start reading and watching tutorials to understand what was happening in the code samples provided. In the end, I just followed the C++ SDK programming manual and managed to capture the image data with the provided library and source code and display it with OpenCV. But even though this manual made it possible to display the video images, I am still very confused about the implementation of the member functions of the provided classes. And since I want to share the image data with a Python script, I need to understand exactly what is happening. Since I couldn't find any simple enough resources on shared memory, I tried sending the image data over sockets using the ZeroMQ library library called cppzmq.
-
Any good lightweight c++ local socket library for embedded Linux?
Maybe I am not understanding it correctly, the https://github.com/zeromq/libzmq is GPL v3, and header only file is https://github.com/zeromq/cppzmq MIT license? So I can use the header only library and I don't need to open source my code?
What are some alternatives?
ZeroMQ - ZeroMQ core engine in C++, implements ZMTP/3.1
palanteer - Visual Python and C++ nanosecond profiler, logger, tests enabler
zmqpp - 0mq 'highlevel' C++ bindings
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
cpp-httplib - A C++ header-only HTTP/HTTPS server and client library
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
coz - Coz: Causal Profiling
Crow - Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
distributed-process-tests - Cloud Haskell core library
libmpack - Simple implementation of msgpack in C