Cross-platform alternative to COM

后端 未结 9 1686
孤街浪徒
孤街浪徒 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:08

    Why do you think that CORBA is not fast enough? Have you measured things recently?

    Modern implementations of CORBA can make remote calls in less than 150 usecs. Way below your 2msec budget. Modern implementations of CORBA can optimize in-process calls to basically two virtual function calls, though that usually requires the application to forgo some features (interceptors for example.) Even a full featured in the worst case scenario local calls are a couple of lookups + some virtual calls, I do not have numbers handy, but I am certain it is below 50 usecs.

    Check this out for some performance numbers:

    http://www.dre.vanderbilt.edu/Stats/performance.shtml

提交回复
热议问题