Duff's Device
Tom Duff

Described as "the most dramatic use of fall-through yet seen in C", Duff's device is a remarkable algorithm that somehow marries two C structures in a surprising and efficient way. The result is both ugly and beautiful; disgusting and elegant.

The purpose of Duff's device is to transform data into an output stream, although it's more commonly used to confuse students and experienced programmers alike.

feature about this project: Duff's Device


Please read this disclaimer before downloading

download here   | report broken link
project homepage: http://www.lysator.liu.se/c/duffs-device.html
keywords: abuse-algorithmic-hackerly-obfuscated-c-
efficient
category: algorithmic appreciation
uploaded by alex, 31 Dec 2003




newcomers, sign up here.

login

email

password

forgot your password?
featured projects
LYCAY (Let Your Code plAY)
Reject Me
Go-Logo
Outsource me!
The Invisible Hand Machine
aPpRoPiRaTe!
Towards a Permanently Temporary Software Art Factory
[more]

latest projects
Childhood Games
Untitled (DIY Google Image Search)
CodeSounding
City Distances: measuring informational distances between cities.
Nude Studies in Aleatoric Environments
The Hypertext Revelation
The Meta Technology
ShiftSpace
[more]