thunk
thunk 1
T0196500 (thŭngk)thunk 2
T0196500 (thŭngk)thunk
(θʌŋk)thunk1
(θʌŋk)n.
thunk2
(θʌŋk)v.
Noun | 1. | thunk - a dull hollow sound; "the basketball made a thunk as it hit the rim" |
单词 | thunk | |||
释义 | thunkthunk 1T0196500 (thŭngk)thunk 2T0196500 (thŭngk)thunk(θʌŋk)thunk1(θʌŋk)n. thunk2(θʌŋk)v.
thunkthunk[thəŋk]thunk(programming)2. The term was later generalised to mean an expression,frozen together with its environment (variable values), forlater evaluation if and when needed (similar to a"closure"). The process of unfreezing these thunks iscalled "forcing". 3. A stubroutine, in an overlay programming environment,that loads and jumps to the correct overlay. Compare trampoline. There are a couple of onomatopoeic myths circulating about theorigin of this term. The most common is that it is the soundmade by data hitting the stack; another holds that the soundis that of the data hitting an accumulator. Yet anothersuggests that it is the sound of the expression being unfrozenat argument-evaluation time. In fact, according to theinventors, it was coined after they realised (in the wee hoursafter hours of discussion) that the type of an argument inALGOL 60 could be figured out in advance with a littlecompile-time thought, simplifying the evaluation machinery.In other words, it had "already been thought of"; thus it waschristened a "thunk", which is "the past tense of "think" attwo in the morning". 4. (Microsoft Windows programming) universal thunk,generic thunk, flat thunk. thunkIn a PC, to execute the instructions required to switch between segmented addressing of memory and flat addressing. A thunk typically occurs when a 16-bit application is running in a 32-bit address space, and its 16-bit segmented address must be converted into a full 32-bit flat address. On the other hand, if a 32-bit program calls a 16-bit DLL, then the thunk is in the opposite direction: from 32 bit to 16 bit.thunk
Words related to thunk
|
|||
随便看 |
英语词典包含2567994条英英释义在线翻译词条,基本涵盖了全部常用单词的英英翻译及用法,是英语学习的有利工具。