
21 Jul
2009
21 Jul
'09
2:52 p.m.
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