3 ms·
IIRC this is called "subroutine threaded code". A few techniques for dispatching instructions for virtual machines are discussed here: http://www.complang.tuwi
by HumanDrivenDev 9y ago
IIRC this is called "subroutine threaded code". A few techniques for dispatching instructions for virtual machines are discussed here:
http://www.complang.tuwien.ac.at/forth/threaded-code.html http://www.complang.tuwien.ac.at/forth/threaded-code.html
- larsbrinkhoff 9y agoYou probably mean "direct threaded" or "indirect threaded". Subroutine threading is when the VM code compiles to subroutine call instructions that the host computer can execute directly.
- gravypod 9y agoI'll have to read up on that. Seems like a case of me not knowing the terms! Thanks for the pointer.