News for hackers. Stuff that matters.
Re:TinyVM: A lightweight, fast virtual machine in < 500 l... by anon_comenter9 on Saturday July 02, 2011 @09:30PM (#2722807)
You are probably talking about threaded code which is described in "The Structure and Performance of Efficient Interpreters" http://www.jilp.org/vol5/v5paper12.pdf

With real code examples

Re:TinyVM: A lightweight, fast virtual machine in < 500 l... by lobster_johnson on Saturday July 02, 2011 @09:36PM (#2722814)
Thanks, that's an interesting paper. I have never heard of that paper, I'm thinking specifically of a VM that implemented the feature. Not sure if we are talking about the same algorithm, either, although it sounds similar.
Re:TinyVM: A lightweight, fast virtual machine in < 500 l... by anon_comenter9 on Saturday July 02, 2011 @09:48PM (#2722826)
Thinking about it, that sounds like inline threading

http://blog.mozilla.com/dmandelin/2008/08/27/inline-threadin...

Re:TinyVM: A lightweight, fast virtual machine in < 500 l... by jws on Saturday July 02, 2011 @11:55PM (#2723028)
The bodies of these opcodes are only single machine instruction or two themselves and are inlined. This changes the game.