Glossário


Contribua com o glossário

threaded code

Ciência da Computação
Verbete 1 de 1

substantivo

Contexto: "The most basic form is a while-switch loop, but some interpreters might use more advanced dispatch techniques such as "threaded code."
Fonte: Musso Gualandi, H., & Ierusalimschy, R. (2021, September). A Surprisingly Simple Lua Compiler. In Proceedings of the 25th Brazilian Symposium on Programming Languages (pp. 1-8).

Termo equivalente: código encadeado

Definição: "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."
Fonte: Threaded Code. (2023, March 31). In Wikipedia. https://en.wikipedia.org/wiki/Threaded_code

Definição em português: "O código encadeado é uma técnica de implementação do compilador usada para implementar intérpretes de máquinas virtuais. O código gerado pelo código encadeado geralmente contém chamadas para sub-rotinas."