At 05:33 PM 8/4/00 -0400, John Porter wrote:
> > perl punts. We require that the code we interface to defines a
> > dispatch function for each object, and we then just call the dispatch
> > function with enough information for it to Do The Right Thing.
> >
> > Perl will define some generic conversion
> > routines (to int, float, and string) which the foreign code is welcome
> > to override if it wishes.
>
>I wonder if this idea was (or could yet be) informed by CORBA IDL,
>or perhaps some other IDL, such as Xerox ILU?

Nope. It was something I really wanted not too long ago when writing some 
XS code to interface to a C++ library. (Ended up writing some extra C++ 
wrappers and hooking into DESTROY)

This is part of my "Make embedding perl everywhere a no-brainer" campaign. :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to