Luajit IO framework
luajit.io
luajit.io
If I were looking for a stand-alone -no nginx- solution: Why would I use this instead of lev[1] or luvit[2] ?
Simply - things like getenv() are not-thread safe, and not guaranteed to be if there is setenv(). Not lua/luajit's fault, but might be seen as such (higher level language, supposed to guard folks from things like that).
It suddenly changed my thinking of VM's in general and their interaction with the standard library and the OS.
(One can say maybe every function from libc/msvcrt/etc. must be thread-safe, but then there are things like errno, or getenv() returning pointer).
[1] http://www.reddit.com/comments/63hth/ask_reddit_which_oss_co...
I wonder how nice they are to use compared to threads, or even to node-style CPS.