发表于2025-04-10
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
Hacker's Delight 下载 mobi pdf epub txt 电子书 格式 2025
Hacker's Delight 下载 mobi epub pdf 电子书##译者翻译的部分我已经不想再拿来恶心自己了,前面有豆友已经吐完槽了。我想说的是,今天我拢共就看了三页,从第二章开头(11页)看到了13页,实在就看不下去了。被低级到单细胞生物都不会犯的错误刺痛了三叉神经,确实没法儿淡定了。 第二章开头第二段,举的第...
评分##译者翻译的部分我已经不想再拿来恶心自己了,前面有豆友已经吐完槽了。我想说的是,今天我拢共就看了三页,从第二章开头(11页)看到了13页,实在就看不下去了。被低级到单细胞生物都不会犯的错误刺痛了三叉神经,确实没法儿淡定了。 第二章开头第二段,举的第...
评分 评分 评分 评分 评分 评分 评分##Hacker's delight is a interesting book. The only problem is it skiped many steps and hard to follow. For example, one of the topic is how to cout the number of binary 1s for a unsigned interger. 1. Easy answer start from here unsigned int CountBitOne(uns...
Hacker's Delight mobi epub pdf txt 电子书 格式下载 2025