Lua State - Better Than GIL

What makes Lua such a compelling alternative to say Python is that Lua interpreters are really truly independent of each other. The state of each interpreter is represented using a single C struct:

lua_State* L;

Lua can have N interpreters running independently on separate threads in a single process. Contrast this with python which has a global interpreter lock.

Â