lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Aug 30, 2010 at 8:01 AM, Jean-Yves F. Barbier <12ukwn@gmail.com> wrote:
> So, AFAI understand, a JIT compiler takes advantage of the context by
> compiling to machine code only what is needed, opposed to a conventional
> compiler that produce highly optimized code but as a whole?

Yes, and in some cases that strategy can lead to better code than a
conventional compiler, because the JIT compiler (even if it's
"simpler"), can produce code optimized exactly for individual hot
paths through the code.

-miles

-- 
Cat is power.  Cat is peace.