图书标签: 算法 计算机 计算机科学 编程 Hacker's_Delight Programming programming 程序设计
发表于2024-12-23
Hacker's Delight pdf epub mobi txt 电子书 下载 2024
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
有点像加德纳写的数学科普文章,各种计算(偏底层)的奇技淫巧。搞算法优化和编译器的童稚可以看看。
评分http://www.itpub.net/thread-1731402-1-1.html
评分http://www.itpub.net/thread-1731402-1-1.html
评分http://www.itpub.net/thread-1731402-1-1.html
评分http://www.itpub.net/thread-1731402-1-1.html
年轻时买的,当时看了头几页,佩服地不行,不过后来就没再看了,前些日子整理的时候又看了看,趣味性极强,看得我很欢乐。里边记载了上古时期的先贤们经历的苦难以及他们的智慧。 基本上,除了吹牛逼装逼外就没啥实用价值了。
评分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...
评分译者翻译的部分我已经不想再拿来恶心自己了,前面有豆友已经吐完槽了。我想说的是,今天我拢共就看了三页,从第二章开头(11页)看到了13页,实在就看不下去了。被低级到单细胞生物都不会犯的错误刺痛了三叉神经,确实没法儿淡定了。 第二章开头第二段,举的第...
评分此评论仅限于04机工版,已入英文第2版,不知14版翻译质量 对于 a<x<b 且 c<y<d成立的情况下 P44. 译文:最后,对于a+c产生溢出但b+d不产生溢出的情况,等式成立的理由是a<b且c<d. 原文: Lastly, the case that a+c overflows, but b+d does not, cannot occur, because a < ...
评分相比的学校里acm的曲高和寡,这本书是最接工作应用地气了,到了“吹毛求疵”“令人发指”,“原子核”的地步了。 联想到三国武将值加点.我决定学习关二哥,不是专业的就把他作为春秋,平时读读索引在印象里,该用时拿出春秋来摆造型。
Hacker's Delight pdf epub mobi txt 电子书 下载 2024