Thunk
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.
Thunk - Wikipedia Jump to content From Wikipedia, the free encyclopedia For other uses, see Thunk (disambiguation) . Look up thunk in Wiktionary, the free dictionary. Type of 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. 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
Explore this link on the map →related reading
- how I think when I think about programming - alice mazalicemaz.com
- Lambda calculus - Wikipediaen.wikipedia.org
- Memoization - Wikipediaen.wikipedia.org
- Y: The Most Beautiful Idea in Computer Science explained in JavaScriptlucasfcosta.com
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Futures and promises - Wikipediaen.wikipedia.org
- One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languagesjames-iry.blogspot.com
- Dynamic dispatch - Wikipediaen.wikipedia.org
- CSC 151 - Anonymous procedureseikmeier.sites.grinnell.edu
- di.ku.dk/english/research/phd/phd-theses/2025/dissertation_Robert.pdfdi.ku.dk
- One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languagesjames-iry.blogspot.com
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu