Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

So to make things work for Iguana the solution I chose together with Kevin Senn at the time was to leverage what we called our “Job System” in Iguana.

This is how we enforced the share nothing principle of making sure that only one thread owned each Lua interpreter.