i recently learned that the CPython interpreter uses a
global interpreter lock. i suppose Lua does not, right ?
Yes, you can run multi lua vm in different thread, each one is independent, no global lock.
Pyhton has GIL problem, so there is a global lock even you run multi python vm (for multi task), it’s inefficient.
Lua has no GIL problem, but you should use multi vm for multithreading.