threaded code


Also found in: Wikipedia.

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].
Mentioned in ?
References in periodicals archive ?
Xojo 2013 Release 4 contains over 150 improvements, 14 changes and 7 new features, including new framework Crypto functions, new examples and improved debugger functionality to allow for easier debugging of threaded code.
The results coming out of this iterative activity prove the importance of this technical collaboration where we have worked with the highly threaded code across multi-core processors to achieve both latency and throughput.
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.
Threaded code discussion enables developers to mark comments as defects, discuss comments, track discussions - all this without formal meetings.
The Intel Software Network Multi-threading Competition will be a 12 month series of programming challenges to design and create the optimum threaded code and solutions on state-of-the-art, cutting-edge, multi-core Intel platforms.
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.
Unlike other servers, which require developers to write complex threaded code to handle multiple users, with Oracle8i, developers can focus on application business logic, writing their Java code as if for a single user.
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.