[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Challenges in JIT compiling Lua
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 22 Feb 2017 09:19:46 +0000
On 21 February 2017 at 23:52, Dibyendu Majumdar <email@example.com> wrote:
> Specialise a Lua function by observing the types during execution.
> JIT compile the specialised version.
that's what LuaJIT does, it leaves guards (conditional branches out of
the trace) as assertions about types, ranges, and a few other stuff
that allows it to emit much simpler code.