December 14, 2004

Compilers are cool.....and duff's device is part of it.

I was reading Evan Martin's post about how compilers are delivering not insignificant performance gains over time and that reminded me of the coolness that is Duff's device, which Tom Duff writes on here, which exploits some very cool unrolling tech around switch. It's one of those hacks that , once you understand it, gives a great a-ha moment.

Posted From: San Jose

1 comment:

Anonymous said...

Hey, I was just searching the web and randomly came across this entry in your blog and thought it was cool because I've actually met you in real life (you were my lunch buddy at the google code jam)! Even weirder is the entry I found is just over a year old.


-Ryan