Everything About ___
Live briefing

Everything about Thunk

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. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: ThunkA 5-minute orientation
  2. Pick up a classic book: I Can Lick 30 Tigers Today and Other StoriesThe most-reprinted book on the subject
  3. Read the landmark paper: Absence Seizures during Sleep: Who Would Have Thunk It?Cited 2 times
  4. Go sideways: Function (computer programming)A closely related topic
  5. Go sideways: Threaded codeA closely related topic

📖 Definitions

Verb past participle of think

Interjection Representing the dull sound of the impact of a heavy object striking another and coming to an immediate standstill, with neither object being broken by the impact.

Verb To strike against something, without breakage, making a "thunk" sound.

🗂️ The subject at a glance

  1. Background
  2. Applications

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics