Anglais modifier

Étymologie modifier

(Interjection, premier sens du verbe) De l’onomatopée.
(Forme de verbe) (début XIXe siècle) Par analogie avec certains verbes irréguliers comme drink/drunk, sink/sunk. Comparez avec l’usage français de termes comme mouru.
(premier sens du nom, second sens du verbe) (1961) D’après l’inventeur du terme, Peter Zilahy Ingerman, parce que ce genre d’évaluation retardée pouvait, en Algol 60, être optimisée si le compilateur « y réfléchissait » (it could be optimized by the compiler by "thinking about it"), et parce que la participe passé de think est thunk…à deux heures du matin. L’étymologie populaire voulant que ce soit le « bruit » que font les données en « frappant » l’accumulateur ou la pile est erronée.

Interjection modifier

thunk \θʌŋk\

  1. Onomatopée représentant le bruit sourd de l’impact d’un objet lourd s’arrêtant contre un autre, sans qu’il y ait de bris.
    • ThunkThunk. “Stop!” James yelled, sloshing to a rigid stance. He slowly put a finger to his lips and whispered, “Shhhhhhh.” Thunk-ThunkThunk-Thunk… “Do you hear that?” he said. “What is it?” Randy whimpered. Thunk-Thunk. — (Sky Masterson, Pilots of the Line, 2004)

Forme de verbe modifier

thunk \θʌŋk\

  1. (Par plaisanterie) Participe passé de to think.
    • I could not thunk at all. No sight! No sounds! All black— black— black; all silent as the grave. — (Jane Rutherford; or the Miners’ Strike, by a Friend of the People, Chap. XVII : The Pit, The True Briton, Volume 2, nº 1, 4 août 1853)
    • Why hast thou thunk
      That municipal ownership of public utilities,
      With its great political and other facilities,
      Is bunk?
      Why hast thou thunk
      That municipal ownership of public utilities,
      With its grasping and grafting capabilities,
      […]
      — (Municipal Journal & Public Works, Volume 18, 1905)
    • FASHION: WHO’D HAVE THUNK THERE’S A FUR CALLED SLUNK? — (Who’d have thunk there’s a fur called slunk?, Life Magazine, Vol. 39, N° 13, 26 septembre 1955)
    • Who would have thunk those guys would have a problem with a little lie?
      La traduction en français de l’exemple manque. (Ajouter)

Verbe modifier

Temps Forme
Infinitif to thunk
\θʌŋk\
Présent simple,
3e pers. sing.
thunks
\θʌŋks\
Prétérit thunked
\θʌŋkt\
Participe passé thunked
\θʌŋkt\
Participe présent thunking
\θʌŋk.ɪŋ\
voir conjugaison anglaise

thunk \θʌŋk\ transitif

  1. Frapper quelque chose sans le briser, en émettant un bruit sourd.
    • I was thunked on the head by his stick.
      La traduction en français de l’exemple manque. (Ajouter)
  2. (Informatique) Utiliser une translation de données.
    • It’s up to you to come up with an intermediate process that converts the addresses and surmounts the stack differences. This is where "thunking" enters the picture. To thunk, you create a 32-bit DLL that mediates between the 16-bit and 32-bit stacks, ensuring that data is correctly pushed onto and taken off of the stacks. — (Kelly Conatser, A seamless transition for Office applications? Thunk again., InfoWorld Magazine, Vol. 17, N° 30, 21 août 1995)

Nom commun modifier

Singulier Pluriel
thunk
\θʌŋk\
thunks
\θʌŋks\

thunk \θʌŋk\

  1. (Informatique) En programmation fonctionnelle, une évaluation d’expression retardée jusqu’à ce que le besoin immédiat de son résultat survienne.
    • When the evaluation of a thunk begins, the descriptor of the thunk is immediately overwritten with a black hole descriptor. — (John H. G. van Groningen, Optimising Recursive Functions Yielding Multiple Results in Tuples, in Pieter Koopman, Chris Clack, éditeurs, Implementation of Functional Languages: 11th International Workshop, IFL’99, Lochem, The Netherlands, September 1999, Selected Papers, Lecture Notes in Computer Science (LNCS) 1868, Springer, 2000)
  2. (Informatique) Dans le langage de programmation Scheme, une fonction ou procédure sans arguments.
  3. (Informatique) Translation (mappage, mise en correspondance) de données d’un type à un autre, souvent pour des raisons de compatibilité, comme par exemple entre adresses 32-bits et 64-bits.
    • If the provider of these DLLs has not updated the code to a 32-bit environment, you will have to switch to a new 32-bit library or write thunks between your 32-bit code and the 16-bit DLL. — (PC Magazine, Volume 14, 1995)

Dérivés modifier

Prononciation modifier