[orbitcpp-list] orbitcpp proof of concept
Status: Beta
Brought to you by:
philipd
From: Phil D. <ph...@or...> - 2000-02-15 22:12:45
|
Hi Andreas, Ron and everybody, I've finally uploaded a copy of my little proof-of-concept prototype for the new ultra-thin orbitcpp architecture onto the ftp site. ftp://orbitcpp.sourceforge.net/pub/orbitcpp/ This basically uses the binary compatibility between C and C++ objrefs to eliminate the need for stateful wrapper instances for things like orb and poa. Instead, the C++ object has the same binary footprint as the C one, and so the two are interchangable using reinterpret_casts. If you have a look at the actual method implementations in Object.cc, ORB.cc etc.. you'll see how this works. I adapted the string example to demonstrate how the stubs would look under the new regieme. BTW, To implement the prototype I just ripped off the old ORBit-C++ runtime code - it's still in need of a rewrite to clean things up. Cheers, Phil P.S. I'll try and have a good look at the idl compiler code in o2cpp tomorrow night with a view to setting up a new source repository. |