If you need serialization, Pluto library
(http://luaforge.net/projects/pluto/) is the right way to go. I've been
using it a lot and its stable. You can serialize practically anything
with it.
Is it fast? If I have to do serialization, I have to do it on each
task switch... Say, 512 tasks with 8 threads, with single update per
second -- that's 64 save/load operations per second if I'm not
mistaken. Looks like too much -- especially considering that some my
tasks are data-heavy.
Alexander.