3 ms·
Like regular Lua, Pocketlang uses a bytecode interpreter. AFAIK LuaJIT is still the only small language implementation that provides a JIT compiler and not just
by pansa2 5y ago
Like regular Lua, Pocketlang uses a bytecode interpreter. AFAIK LuaJIT is still the only small language implementation that provides a JIT compiler and not just an interpreter.
I don’t know why that is - maybe there just isn’t much of a niche for a lightweight JIT compiler.
- thayne 5y agoProbably because a JIT conflicts with the goal of most embedded languages to be small and simple. LuaJIT does manage to be relatively small, but it (meaning the implementation) certainly isn't simple.