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?
latest projects
naked on pluto
torrent.py
100.000.000 stolen pixels
Excerpts From the Chronicles of Pookie & JR
Satromizer.pl
CodeSounding
Velato
Destroy the Web
[more]

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]