From: Lyle Johnson Date: 2002-04-27T05:39:28+09:00 Subject: Re: CORBA on Ruby? > I got Rinn working, sort of, with some very basic CORBA code. However, > Rinn does not support IIOP (CORBA over TCP/IP), which is something I > need. I started to add IIOP support myself, but soon realized that it > wasn't worth my time. > > My solution, instead, is to write wrappers in C++ for all my CORBA > calls, then wrap those CORBA calls using SWIG. It turns out this is > somewhat tricky (for many reasons, but primarily because SWIG does not > allow me to work with callbacks very gracefully). The advantage, > though, is that I don't have to worry about incompatibilities between > ORBs. I will keep this solution in mind, although I'm still holding out hope for a more direct solution ;) > I once had the idea that I could compile IDL into SWIG automatically. > Then I could skip the C++ wrapper step. I didn't get very far, but I > still think this would be possible. So you mean a backend for the IDL compiler that spits out SWIG interface files instead of stub and skeleton source files? Not sure how much effort this would save, since you'd still need to code-up the C++ objects that wrap the CORBA calls, but maybe you'd see a payoff for larger libraries. Anyhoo... thanks for the information. If I learn anything worthwhile I'll let you know!