lua-users home
lua-l archive

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


On Wed, Jun 17, 2020 at 10:07 PM Norman Ramsey wrote:
>   - To pass table values between threads, I wound up writing my own
>     serializer/deserializer.

On Thu, Jun 18, 2020 at 12:09 AM Andrea wrote:
> Yes I guess serialization (of tables) is one of the most required functionalities :) It would be useful to have such a method in the table library for that.... I guess it is not there because of the choices one can make (shallow vs deep copies, etc - the mesh of references can be really complex)

In a recent discussion I discovered a LuaProc extension that lets you
pass tables between threads. Maybe you can give it a try:
https://github.com/lmillanfdez/luaproc-master.