lua-users home
lua-l archive

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


On Thu, 18 Nov 2010, Alex Queiroz wrote:
>
>      If you don't need to stick to ANSI C you can use GCC's
> first-class labels and goto. It helps the CPU a lot. Or you can use a
> new technique I read in paper a few months ago (sorry, don't remember
> where it is) where a mix of assembly and subroutine threading is used
> to trick the CPU's instruction pointer to follow the VM's, for much
> better prediction.

Possibly something linked from
http://www.complang.tuwien.ac.at/projects/interpreters.html ?

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.