From: Chris Bitmead
Subject: Re: Foreign Functions (was Re: Why lisp failed in the marketplace)
Date:
Message-ID: <BITMEADC.97Mar3114918@Alcatel.com.au>
In article <····················@wavehh.hanse.de> ········@wavehh.hanse.de (Martin Cracauer) writes:
>>Also, C seems to be a common denominator for most languages. If you
>>can talk to C, most likely you can talk to anything via C.
>
>This is a common misunderstanding.
>
>In pratice, you usually cannot mix two languages that both interface
>to C, because of incompatible behaviour of runtimes (GC, threads,
>stack-handling in general), object creation policy and such.
If two languages both have a C interface, and reasonable hooks, then
you can always glue them together somehow. It may not be easy, and it
may require work, but it can always be done. You may have to use
mutexes around calls to the foreign language for example.
--
---------------------------------------------------------------
| Chris Bitmead.....................................9690 5727 |
| ·············@Alcatel.com.au............................... |
---------------------------------------------------------------
The sum of the intelligence of the world is constant.
The population is, of course, growing.