lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Roberto Ierusalimschy wrote:
A furiously fast (but still pleasant on the eyes :) serialization function would indeed be handy. The multicore performance seems to be largely dependent on serialization speed.

Of course, this only applies if tables are used for passing things over. But -then again- Lua is all about tables, so they should be efficiently and transparently usable in multicore applications, too.

What Say Lua Authors on this?

You mean adding table serialization to the core libraries? The problem
is that there is no one-size-fits-all solution. A robust serialization
is not good for visualization, cycle handling slows down the algorithm,
etc.

I agree.
Plus it probably won't work in all cases (functions with closures, userdata...) so you will get complains that it is broken...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --