
Obfuscated C and other mysteries
by Don Libes · first published 1993
7mentions
4recommended by
6HN commenters
2011–2024first – last mentioned
67% recommend33% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Neither are recent, but the following are both good: "Obfuscated C and Other Mysteries" by Don Libes "C Companion" by Allen Holub Don Libes' book actually uses Obfuscated C code entries as interesting instructional examples and Holub's book is a nice intermediate book between K&R and…
on “Obfuscated C Code Contest 2006. Please explain sykes2.c” ↗If you like deconstructing obfuscated c, then you may also enjoy Obfuscated C And Other Mysteries by Don Libes. In addition to coding advice, it looks at some of the top entries from the Obfuscated C Contest, 1984-1991. http://www.amazon.com/gp/product/0471578053/ Also appears to be available as…
on “Donut math - How donut.c works” ↗The Don Libes book, Obfuscated C and Other Mysteries [0], is a fantastic programming book, among my top ten. I think it's out of print, but Amazon has used copies. [0] http://www.amazon.com/Obfuscated-Other-Mysteries-Don-Libes/d...
on “The IOCCC is back” ↗…My tests feel much more comprehensive than they ever did previously. Surprise books. These I wouldn't recommend for everyone here, but they're the most interesting ones I personally found this year: Obfuscated C and Other Mysteries - Don Libes. Someone on HN recommended it, and I managed to find a used copy for $6. Just incredible if you love C, low level code, and hardcore tricks and optimizations. Some of the chapters explain…
on “Ask HN: Books you read in 2016?” ↗There's actually a book that covers some of the old contest winners: Obfuscated C And Other Mysteries by Don Libes http://www.amazon.com/Obfuscated-Other-Mysteries-Don-Libes/d...
on “International Obfuscated C Code Contest Winners” ↗…))M[Z]=Z[A-(E =A[J-Z])&&!C & A == T[ A] |6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];} discussed in more detail in Don Libes' "Obfuscated C and Other Mysteries" [1], I turned out to have rediscovered Eller's algorithm, which only keeps one line of the maze in memory. [1] https://tromp.github.io/maze.html
on “Generating Mazes” ↗This is an excerpt from a book "Obfuscated C and Other Mysteries", one of the stranger programming books I've ever owned. About half the chapters are discussions like this one -- taking a (relatively) small, practical programming task and going into detail how to address…
on “Implementing Software Timers (1990)” ↗