Common · Knowledge
Thunk
Computing term: subroutine used to inject a calculation into another subroutine
In computer programming, a thunk is a subroutine used to inject a calculation into another subroutine. Thunks are primarily used to delay a calculation until its result is needed, or to insert operations at the beginning or end of the other subroutine.
From Wikipedia
In computer programming, a thunk is a subroutine used to inject a calculation into another subroutine. Thunks are primarily used to delay a calculation until its result is needed, or to insert operations at the beginning or end of the other subroutine. They have many other applications in compiler code generation and modular programming. The term originated as a whimsical irregular form of the verb think. It refers to the original use of thunks in ALGOL 60 compilers, which required special analysis (thought) to determine what type of routine to generate.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
W★
Windows SDK
Software development kit
-
D★★
DC++
Peer-to-peer file-sharing software
-
S★★
Software bloat
Computer program performance degradation process
-
★★★
GNU
Unix-like operating system
-
L★★★
Lint (software)
Unix tool which performs static analysis of C source code and flags suspicious and non-portable constructs
-
★★★
Open-core model
Business model for monetizing commercial open-source software