|
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” http://www.thijsschreijer.nl/blog/?p=693 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 Thijs From: Eduardo Ochs [mailto:eduardoochs@gmail.com]
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! people to produce diagrams! =) Eduardo Ochs P.S.: one of my diagrams: http://angg.twu.net/dednat5/eoo.lua.html#box-diagram On Sat, Apr 21, 2012 at 6:59 PM, Thijs Schreijer <thijs@thijsschreijer.nl> 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. Link;
http://www.thijsschreijer.nl/blog/?download=LuaStateAndLibraryLayout.pdf
Feedback appreciated. Thijs |