lua-users home
lua-l archive

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


On Tue, 15 Feb 2011, Josh Haberman wrote:
>
> Could you possibly summarize the few biggest strategies that you
> use to beat C compilers when it comes to interpreter loops?

There's quite a lot of literature on the topic out there. Anton Ertl and
Davig Gregg in particular have done significant work recently to compare
implementation strategies for interpreters on modern CPUs.

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.