3 ms·
I think I am remembering this one: http://news.ycombinator.com/item?id=2593095 http://news.ycombinator.com/item?id=2593095 The Common CPU Interpreter Loop Revis
by jws 15y ago
I think I am remembering this one: http://news.ycombinator.com/item?id=2593095 http://news.ycombinator.com/item?id=2593095 The Common CPU Interpreter Loop Revisited
But after looking at tinyvm it may be a special animal. The native implementation of its virtual opcodes are only one or two instructions. Locality, cacheing, and pipelining are working at their finest here and it might be best to just let them do their thing.