Abstract
An efficient arrangement for interpretive code is described. It is related to Bell's notion of threaded code but requires less space and is more amenable to machine independent implementations.
- 1 Dewar, R.B.,K. SPITOL. SNOBOL4 Doc. S4D23, Illinois Inst. of Tech., Chicago, II1., Feb. 1971.Google Scholar
- 2 Bell, James R. Threaded code. C.ACM 16, 6 (June 1973), 370- 372. Google ScholarDigital Library
- 3 Digital Equipment Corporation, PDP-11 FORTRAN IV Programmer's Manual, DEC-11-KFDA-D, Maynard, Mass., 1971.Google Scholar
Index Terms
- Indirect threaded code
Recommendations
Indirect Threaded Code used to emulate a virtual machine
Threaded Code and Indirect Threaded Code are used to structure assembler programs, Threaded Code is also used to realise virtual machines (e.g. Pascal p-machine).This paper presents the realization of a virtual machine with Indirect Threaded Code and ...
Optimizing direct threaded code by selective inlining
PLDI '98: Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementationAchieving good performance in bytecoded language interpreters is difficult without sacrificing both simplicity and portability. This is due to the complexity of dynamic translation ("just-in-time compilation") of bytecodes into native code, which is the ...
Threaded code
The concept of “threaded code” is presented as an alternative to machine language code. Hardware and software realizations of it are given. In software it is realized as interpretive code not needing an interpreter. Extensions and optimizations are ...
Comments