Cover of Obfuscated C and other mysteries

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.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 2 mentions2012: 1 mention2013: 1 mention2014: 0 mentions2015: 0 mentions2016: 2 mentions2017: 0 mentions2018: 0 mentions2019: 0 mentions2020: 0 mentions2021: 0 mentions2022: 0 mentions2023: 0 mentions2024: 1 mention2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • mtoddh · Apr 10, 2013 · Recommends

    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” ↗
  • kqr2 · Jul 21, 2011 · Recommends

    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” ↗
  • WildUtah · Nov 13, 2011 · Recommends

    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” ↗
  • squeaky-clean · Dec 22, 2016 · Recommends

    …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?” ↗
  • kqr2 · Oct 17, 2012 · Mentions

    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” ↗
  • tromp · Aug 25, 2024 · Mentions

    …))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” ↗
  • breadbox · Jul 5, 2016 · Mentions

    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)” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help