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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe