Threaded code

This is an old revision of this page, as edited by Tea2min (talk | contribs) at 14:02, 24 February 2004 (Added external link to Anton Ertl's explanatory page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

For multi-threaded programming, see Thread (computer science)


The term threaded code is used in the Forth and early versions of the B programming languages. It means a form of code consisting entirely of subroutine calls, written without the subroutine call instruction, and processed by an interpreter (Forth) or the CPU (B), which jumps to each successive piece of basic function code in turn.