Slashdot Mirror


User: Jon+Pryor

Jon+Pryor's activity in the archive.

Stories
0
Comments
26
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 26

  1. Component Architectures on Interview: Ask the KDE Developers · · Score: 1

    Given that, for the inprocess case at least, you've abandoned CORBA for shared memory in KDE 2.0, have you considered alternative component technologies such as COM, the Component Object Model?

    Aside from the fact that it was created by Microsoft, I've found it to be a rather useful. It's fairly efficient for inprocess use (the overhead is only that of a C++ virtual function call, assuming "client" and "server" are in the same "apartment" (in COM-speak), and is language-independant -- assuming you can get a compiler to create the appropriate C++ virtual function tables. GCC-2.95 just happens to be such a compiler. (You need to use __attribute__((com_interface)) in the class declaration.)

    It can also be extended to work cross-process and cross machine by implementing proxy and stub DLLs/shared libraries.

    The only downside is that there is no free/open-source COM library implementation that operates under Linux. However, it's fairly simple to implement a subset that works on all platforms -- Mozilla does this through it's XPCOM libraries for all inter-object communication.

    Just wondering if any other choicse were explored in the decision to drop CORBA...

    - Jon