Hacker's Delight Author: Henry S. Warren | Language: English | ISBN:
B009GMUMTM | Format: EPUB
Hacker's Delight Description
In Hacker’s Delight, Second Edition, Hank Warren once again compiles an irresistible collection of programming hacks: timesaving techniques, algorithms, and tricks that help programmers build more elegant and efficient software, while also gaining deeper insights into their craft. Warren’s hacks are eminently practical, but they’re also intrinsically interesting, and sometimes unexpected, much like the solution to a great puzzle. They are, in a word, a delight to any programmer who is excited by the opportunity to improve.
Extensive additions in this edition include
- A new chapter on cyclic redundancy checking (CRC), including routines for the commonly used CRC-32 code
- A new chapter on error correcting codes (ECC), including routines for the Hamming code
- More coverage of integer division by constants, including methods using only shifts and adds
- Computing remainders without computing a quotient
- More coverage of population count and counting leading zeros
- Array population count
- New algorithms for compress and expand
- An LRU algorithm
- Floating-point to/from integer conversions
- Approximate floating-point reciprocal square root routine
- A gallery of graphs of discrete functions
- Now with exercises and answers
- File Size: 23421 KB
- Print Length: 508 pages
- Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
- Publisher: Addison-Wesley Professional; 2 edition (September 25, 2012)
- Sold by: Amazon Digital Services, Inc.
- Language: English
- ASIN: B009GMUMTM
- Text-to-Speech: Enabled
X-Ray:
- Lending: Not Enabled
- Amazon Best Sellers Rank: #71,568 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
- #39
in Books > Computers & Technology > Internet & Web Culture > Hacking - #62
in Books > Computers & Technology > Programming > Algorithms
- #39
in Books > Computers & Technology > Internet & Web Culture > Hacking - #62
in Books > Computers & Technology > Programming > Algorithms
Well written and (relatively) concise book. It contains numerous techniques for efficiently managing binary data and various examinations of bitwise arithmetic.
The algorithms explained are detailed and useful. I've used a number of them 'in anger' and they've worked perfectly. I haven't come across any other book that addresses the field as well as this one does.
By Edward Jennings
Hacker's Delight first edition was resourceful. This second edition even more so.
The bit manipulation chapters have lots of hints on how to code without branches.
There are some "scary" math on later chapters but you can ignore it.
By Erebus
Hacker's Delight Preview
Link
Please Wait...