Search the forum,

threaded

In computer science, threaded code is a programming technique where the code has a form that essentially consists entirely of calls to subroutines. It is often used in compilers, which may generate code in that form or be implemented in that form themselves. The code may be processed by an interpreter or it may simply be a sequence of machine code call instructions.
Threaded code has better density than code generated by alternative generation techniques and by alternative calling conventions. In cached architectures, it may execute slightly slower. However, a program that is small enough to fit in a computer processor's cache may run faster than a larger program that suffers many cache misses. Small programs may also be faster at thread switching, when other programs have filled the cache.
Threaded code is best known for its use in many compilers of programming languages, such as Forth, many implementations of BASIC, some implementations of COBOL, early versions of B, and other languages for small minicomputers and for amateur radio satellites.

View More On Wikipedia.org
  • 24

    Dan

    Administrator From On the forum.
    • Messages
      2,780
    • Directory
      6
    • Video
      98
    • Reaction score
      1,222
    • Points
      113
  • 1

    Deuce

    42 From Stamford
    • Messages
      30
    • Reaction score
      1
    • Points
      1
  • 1

    Chris 11

    54 From Worcester
    • Messages
      4
    • Reaction score
      0
    • Points
      1
  • 1

    Cornsack

    • Messages
      4
    • Reaction score
      0
    • Points
      1
  • 1

    trickytrev

    • Messages
      4
    • Video
      1
    • Reaction score
      1
    • Points
      3
  • 1

    WaterTight

    • Messages
      5,439
    • Video
      196
    • Reaction score
      2,227
    • Points
      113
  • 1

    abrogard

    • Messages
      6
    • Reaction score
      0
    • Points
      1
  • 1

    Plumb Line

    • Messages
      90
    • Reaction score
      15
    • Points
      8
  • Creating content since 2001. Untold Media.

    Newest Plumbing Threads

    Back
    Top
    AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    I've Disabled AdBlock