threaded code

Also found in: Wikipedia.

threaded code

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.

["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].
Mentioned in ?
References in periodicals archive ?
VTune Amplifier offers "Locks and Waits" analysis to quickly find common causes of slow threaded code.
TotalView is fast and efficient to start on codes containing even thousands of processes, and advanced features specific to debugging MPI, OpenMP, and threaded code ease the pain of finding elusive bugs.
The compiler, known as beam, converts the source code into a byte code, which is then converted to threaded code at the time of loading.
Threaded code discussion enables developers to mark comments as defects, discuss comments, track discussions - all this without formal meetings.
ACML is specifically designed to use key components of next-generation AMD processors, including Streaming SIMD Extensions (SSE), and to create highly threaded code that can help developers to better utilize multi-core processor technology.
Software engineers who are employing complex parallel and threaded code to develop mission critical applications look to Etnus to provide the debugging solution, and today that solution is available on Mac OS X, as well as the vast majority of other major UNIX and Linux platforms.
Software engineers writing complex parallel and threaded code look to Etnus to provide the debugging solution, and today that solution is available on Mac OS X, for both Panther 32-bit and Tiger 32-bit, 64-bit, and mixed 32/64 bit programs.
Long known for its superior ability to debug parallel and threaded code, TotalView offers the developer unrivaled ability to debug applications that use multithreading, MPI and OpenMP.
Intel Thread Checker locates hard-to-find bugs, the Thread Profiler locates threading bottlenecks in Win32* or OpenMP* threaded code and Intel VTune Performance Analyzer locates performance bottlenecks.
Threaded code creates or "spawns" many different and frequently invisible sub-programs, or processes, often called "child threads" or "worker threads.