lua-users home
lua-l archive

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

I had some trouble getting the images up on the wiki, so in a time squeeze I put it on my blog;

“Lua; states, threads, libraries and memory layout” so at least it’s out there now


I made several updates, so it certainly could use an extra review. So please let me know if you find any errors or have comments





From: Eduardo Ochs []
Sent: zondag 22 april 2012 16:18
To: Thijs Schreijer
Subject: Re: LuaState and library layout


Hi Thijs,

...good job! I have used coroutines very little and never used threads,

so I can't help with checking whether all your ideas are correct or not,

but your explanation is very clear and we certainly need more of those!
Cheers, thanks, and please put this on the wiki to encourage more

people to produce diagrams! =)

  Eduardo Ochs


P.S.: one of my diagrams:

On Sat, Apr 21, 2012 at 6:59 PM, Thijs Schreijer <> wrote:


While getting into writing some C libraries, I had a hard time grasping the different concepts used. I like pictures, a lot, but somehow there’s lot of text, but little pictures. So I’ve drawn myself a picture that tells me how this stuff relates to each other (at least what I got from it).


If deemed useful (and correct) I’ll put it up on the wiki.




Feedback appreciated.