Bokus
Henry Warren - Hacker's Delight, Inbunden

Inbunden, Engelska, 2012

Hacker's Delight

Av Henry Warren

Del i serien Pearson

424 kr

Beställningsvara. Skickas inom 10-15 vardagar. Fri frakt över 249 kr.

Beskrivning

"This is the first book that promises to tell the deep, dark secrets of computer arithmetic, and it delivers in spades. It contains every trick I knew plus many, many more. A godsend for library developers, compiler writers, and lovers of elegant hacks, it deserves a spot on your shelf right next to Knuth."

--Josh Bloch (Praise for the first edition)

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
Produktinformation
  • Utgivningsdatum: 2012-10-11
  • Mått: 157 x 231 x 30 mm
  • Vikt: 900 g
  • Format: Inbunden
  • Språk: Engelska
  • Serie: Pearson
  • Antal sidor: 512
  • Upplaga: 2
  • Förlag: Pearson Education
  • ISBN: 9780321842688
Utforska kategorier
Mer om författaren

Henry S. Warren, Jr., has had a fifty-year career with IBM, spanning from the IBM 704 to the PowerPC and beyond. He has worked on various military command and control systems and on the SETL (SET Language) project under Jack Schwartz. Since 1973, Hank has been with IBM’s Research Division, focusing on compilers and computer architectures. He currently works on a supercomputer project aimed at an exaflop. Hank received his Ph.D. in computer science from the Courant Institute at New York University.

Recensioner i media

"This is the first book that promises to tell the deep, dark secrets of computer arithmetic, and it delivers in spades. It contains every trick I knew plus many, many more. A godsend for library developers, compiler writers, and lovers of elegant hacks, it deserves a spot on your shelf right next to Knuth. In the ten years since the first edition came out, it's been absolutely invaluable to my work at Sun and Google. I'm thrilled with all of the new material in the second edition." - Joshua Bloch "When I first saw the title, I figured that the book must be either a cookbook for breaking into computers (unlikely) or some sort of compendium of little programming tricks. It's the latter, but it's thorough, almost encyclopedic, in its coverage. The second edition covers two new major topics and expands the overall collection with dozens of additional little tricks, including one that I put to use right away in a binary search algorithm: computing the average of two integers without risking overflow. This hacker is indeed delighted!" - Guy Steele

Betyg & recensioner

3 recensioner, genomsnitt 4.3/5

  1. 5/5 Henrik S

    Fantastisk bok om trick man kan göra med binära tal. Om man tror man ä bra på det så visar boken snabbt hur mycket mer det finns att kunna. Perfekt coffee table-bok för en hacker.

    Kul kuriosa: I en del fall så redovisas ett trick och som referens anges "Private Conversation with Donald Knuth". En sån bok måste man ju bara ha.

  2. 3/5 Jan

    Helt OK bok om man gillar att mikrooptimera kod med bitshiftning osv. Inget som borde uppskattas av omgivningen om det används för mycket (blir svårläst), men jag kan tänka mig att det är användbart när man skriver publika bibliotek som måste göra effektiva beräkningar.

  3. 5/5 Henrik