2

In our Desktop project for debian we need a lightweight and fast library event/message system.

So, we have application with architecture "Model View Presenter". And we need a lightweight and fast library for communication between layers Model->Presenter and View->Presenter.

We don`t need a library based on sockets, some slow like dbus, only light and preferable header only. Thread safety is also must be implemented in that library. Any suggestion?

  • You think that Dbus is slow? On what grounds? And can you tell us how quick the solution needs to be? – Mawg says reinstate Monica Mar 26 '17 at 12:25
2

ZeroMQ

I would recommend you to look at ZeroMQ library. It is a tiny library with support of C++ programming language, as well, it is quite stable, have a wide community and easy to use. It contains an inproc transport especially designed to pass messages between threads in a single process application.

| improve this answer | |
  • Thanks, we will try it. – Xanm Jan 25 '17 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.