Cross-platform alternative to COM

后端 未结 9 1696
孤街浪徒
孤街浪徒 2021-02-04 14:35

I\'ve been enamoured with component based programming (be it with COM, another system, or just using the paradigm in plain C++). It requires a bit of getting used to, if one is

9条回答
  •  难免孤独
    2021-02-04 15:22

    Take a look at D-Bus (yes, for windows too), which is the modern spiritual heir of various componentry frameworks (CORBA, Gnome Bonobo, KDE's DCOM).

    If the cross-process marshalling turns out to be a performance problem, look to move the heavy lifting to shared memory (boost.interprocess will help keep it cross-platform).

提交回复
热议问题