Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

threaded code

You are here: irt.org | FOLDOC | threaded code

<programming> A technique for implementing virtual machine interpreters, introduced by J.R. Bell in 1973, where each op-code in the virtual machine instruction set is the address of some (lower level) code to perform the required operation. This kind of virtual machine can be implemented efficiently in machine code on most processors by simply performing an indirect jump to the address which is the next instruction.

Many Forth implementations use threaded code and nowadays some use the term "threading" for almost any technique used to implement Forth's virtual machine.

(http://complang.tuwien.ac.at/forth/threaded-code.html).

["James R. Bell", "Threaded Code", CACM, 1973, 16, 6, pp 370-372].

["An Architectural Trail to Threaded Code Systems", Kogge, P. M., IEEE Computer, March 1982].

(1998-09-02)

Nearby terms: thrashing « thread « threaded « threaded code » threading » Thread Language Zero » thread-safe

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb