3 ms·
It seems you can't have direct threaded interpreter for JVM or CLR where the opcodes conform to specification that can't change between versions of the interpre
by ntoshev 18y ago
It seems you can't have direct threaded interpreter for JVM or CLR where the opcodes conform to specification that can't change between versions of the interpreter.
The SquirrelFish announcement's list for future developments (http://webkit.org/blog/189/announcing-squirrelfish/ http://webkit.org/blog/189/announcing-squirrelfish/) contains some more codewords I wish I understood:
- constant folding
- aggressive copy propagation
- type inference—both exact and speculative
- specialization based on expression context—especially void and boolean context
- peephole optimization
- constant pool instructions
- superinstructions
- instructions with implicit register operands
- advanced dispatch techniques, like instruction duplication and context threading
- jeroen 18y agoThis is probably a good start to get to know more about some of these subjects: http://en.wikipedia.org/wiki/Category:Compiler_optimizations http://en.wikipedia.org/wiki/Category:Compiler_optimizations
- LogicHoleFlaw 18y agohttp://lua-users.org/lists/lua-l/2008-02/msg00051.html http://lua-users.org/lists/lua-l/2008-02/msg00051.html That link includes a link to the Lua mailing list post by Mike Pall, the author of LuaJIT. It includes some great info and links to papers if you read a bit in. I found it extremely informative, and not just about the Lua-specific implementation.