Lupa Publisher's description
from Stefan Behnel
Lupa integrates the LuaJIT2 runtime into CPython.
Lupa integrates the LuaJIT2 runtime into CPython. It is a partial rewrite of LunaticPython in Cython with some additional features such as proper coroutine support.
* separate Lua runtime states through a LuaRuntime class
* Python coroutine wrapper for Lua coroutines
* iteration support for Python objects in Lua and Lua objects in Python
* proper encoding and decoding of strings (configurable per runtime, UTF-8 by default)
* frees the GIL and supports threading in separate runtimes when calling into Lua
* supports Python 2.x and 3.x, potentially starting with Python 2.3 (currently untested)
* written for LuaJIT2 (tested with LuaJIT 2.0.0-beta5), but reportedly works with the normal Lua interpreter (5.1+)
* easy to hack on and extend as it is written in Cython, not C
It complements Python very well. Lua is a language as dynamic as Python, but LuaJIT compiles it to very fast machine code, sometimes faster than many other compiled languages for computational code. The language runtime is extremely small and carefully designed for embedding. The complete binary module of Lupa, including a statically linked LuaJIT2 runtime, is only some 500KB on a 64 bit machine.
What's New in This Release:В· fix serious resource leak when creating multiple LuaRuntime instances
В· portability fix for binary module importing
System Requirements:В· Python
Program Release Status: Minor Update
Program Install Support: Install and Uninstall