In article <CONNOLLY.95Nov14015216@w3.org> connolly@w3.org (Dan Connolly)
writes:
I haven't looked very closely, but I suspect both the scheme48 and Java
FFI could be replaced with ILU. Given compatible runtimes, you might
get inter-language interoperability in the same address space. But
failing that, you get it across address spaces.
I'm not sure that you'd want to remove the FFI; even for ILU, you need
to be able to get back and forth to C, somehow. But we have replaced
specific *uses* of the FFI with uses of ILU, so that only the person
doing the ILU port need ever use the language's FFI; everyone else
calls through an ILU interface, and ILU does all the data value
translation, so the caller need never know that he's going into a
different programming language space.
The ILU 2.0 release will have an example of doing this between C and
Python. More info at ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.
Bill
--
Bill Janssen <janssen@parc.xerox.com> (415) 812-4763 FAX: (415) 812-4777
Xerox Palo Alto Research Center, 3333 Coyote Hill Rd, Palo Alto, CA 94304
URL: ftp://ftp.parc.xerox.com/pub/ilu/misc/janssen.html
|