[Haskell-cafe] Re: [Haskell] TABI 0.1: a typeful tagged
cross-language calling convention
John Melesky
list at phaedrusdeinus.org
Tue Jul 21 14:52:58 EDT 2009
On Jul 21, 2009, at 10:37 AM, Felipe Lessa wrote:
> it seems to me that the only way of
> avoiding serialization costs would be having the same
> representation in memory for all languages and just passing
> pointers around instead of peek'ing and poke'ing everytime.
Alternately, a whole slew of point-to-point translators might do the
trick. Haskell to Lua (and back), Lua to Ocaml (and back), Ocaml to
Ruby (and back), Ruby to Lua, etc., etc.
That's a great deal of overhead beyond the "canonical representation"
method, but it would achieve translation without explicit serialization.
-johnnnnnn
More information about the Haskell-Cafe
mailing list