Richard A. O'Keefe
Thu Jun 24 06:58:31 CEST 2004
Eric Newhuis <> wrote:
Microsoft Research just announced [Erlang.NET].
No they didn't. I toy with you.
But what if that existed? What would the implications be?
Just the other day I was reading
A PLT Scheme FFI for the .NET framework" by
Pedro Pinto ()
published in the Fourth Workshop on Scheme and Functional Programming, 2003.
... "The dot-scheme architecture can be thought of as defining two layers:
* A core layer, responsible for managing storage of CLR objects as well
as CLR method dispatch. This layer is implemented in 1200 lines of
Microsoft Managed C++ (MC++).
* A code generation layer, responsible for generating wrapper bindings
for CLR types. These wrappers are implemented in terms of the
primitives supplied by the ocre layer. The code generation layer
is implemented in 700 lines of Scheme."
If I've understood them correctly, there is a Scheme world using their
previous object representation, and CLR objects known to Scheme are held
in a hash table; Scheme GC and CLR GC are otherwise independent. It is
_not_ a "native" Scheme-to-.NET compilation.
That strategy might conceivably work for Erlang.
More information about the erlang-questions