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.
Nº Q2429957 ★
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
Nº Q1062589 ★
Not listed
-
D
DC++
Peer-to-peer file-sharing software
Nº Q3194318 ★★
Not listed
-
S
Software bloat
Computer program performance degradation process
Nº Q119981 ★★
Not listed
-
GNU
Unix-like operating system
Nº Q44571 ★★★
Not listed
-
L
Lint (software)
Unix tool which performs static analysis of C source code and flags suspicious and non-portable constructs
Nº Q1727373 ★★★
Not listed
-
Open-core model
Business model for monetizing commercial open-source software
Nº Q7096350 ★★★
Not listed