Duff's device

unusual C programming idiom that manually implements loop unrolling using interleaved control structures
Class type of: loop unrolling Q1264012

Facts

8 properties
Facet of
C syntax[6]
Discoverer or inventor
Tom Duff[2]
Named after
Tom Duff[3]
Significant person
Simon Tatham[10]
Time of discovery or invention
November 1983[5]
🏷️ Also known as
en Duff's device de Duffapparat de Duff’s Device de Duff's Device de Duffs Device es dispositivo de Duff fa دستگاه داف fr Heuristique de Duff fr Duff's device ja ダフのデバイス pl Mechanizm Duffa ru Метод Даффа ru Устройство Даффа tr Duff aygıtı uk Трюк Даффа zh 达夫设备
🔖 Identifiers · 3
FOLDOC ID
Duff's+device
Freebase ID
/m/02brdg
Microsoft Academic ID (discontinued)
2778908936

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Uses 2
Created notable works 1
Discoverer or inventor 1
Facet of 1
Instance of 1
Named after 1
Subclass of 1
← Used by 1
Press Enter · cited answer in seconds

Summary

Duff's device is a programming idiom[1].

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). Duff's device. Retrieved November 16, 2026, from https://4ort.xyz/entity/duff-s-device
MLA “Duff's device.” 4ort.xyz Knowledge Graph, 4ort.xyz, 16 Nov. 2026, https://4ort.xyz/entity/duff-s-device.
BibTeX @misc{4ortxyz_duff-s-device_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Duff's device}}, year = {2026}, url = {https://4ort.xyz/entity/duff-s-device}, note = {Accessed: 2026-11-16}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Duff's device — https://4ort.xyz/entity/duff-s-device (retrieved 2026-11-16)

Canonical URL: https://4ort.xyz/entity/duff-s-device · Last refreshed: