Threaded code: Difference between revisions

Content deleted Content added
Leibniz (talk | contribs)
rm junk
Leibniz (talk | contribs)
No edit summary
Line 2:
----
 
TheIn [[computer science]], the term '''''threaded code''''' refers to an implementation technique for [[programming language]]s that produces very compact code (at the expense of some speed).

It is used in the [[Forth programming language|Forth]] and early versions of the [[B programming language|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.
 
In early computers, memory was very expensive.