Re: Challenges in JIT compiling Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Challenges in JIT compiling Lua
- From: Javier Guerra Giraldez <javier@...>
- Date: 2017年2月22日 09:19:46 +0000
On 21 February 2017 at 23:52, Dibyendu Majumdar <mobile@majumdar.org.uk> 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.
--
Javier