> Some of you who attended the Lua Workshop might know of my struggles to
> use one of the proposed models here (mutex based locking) and that I
rewrote
> all the code in lubyk to use coroutines and sockets.
>
> Blog post on the different architectures:
http://lubyk.org/en/post381.html
>
> I first chose the "many threads with a global lock" architecture because
it
> does not require any central scheduler or event loop and because it seemed
> very easy to use. Blocking sockets ? add a thread. Callback based API ?
add
> a thread. GUI ? add a thread. You kind of understand the song here.
>
Gaspar,