From: David B. <dav...@da...> - 2006-11-10 21:51:10
|
On Nov 10, 2006, at 3:51 PM, William S Fulton wrote: > > There is currently nothing in SWIG to provide this. In the past I've > thought of doing this using Corba, or SOAP or some other web services. > It just requires someone to sit down and write a 'language' module > to do > this. It would certainly be an interesting project for someone with > spare time. > One thing that might make this kind of interesting (or possibly painful) was that SWIG was initially designed to avoid marshalling and unmarshalling of data. For instance, classes and structures are almost never marshalled---they are allocated in C and referenced by pointers. Thus, RPC would take things in an entirely different direction. Obviously the SWIG parser could be used to collect all sorts of information. However, it's hard to say whether an RPC module would look much like any of the other language modules. My guess is that it would be quite different. Cheers, Dave |