發表於2025-04-11
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 電子書##年輕時買的,當時看瞭頭幾頁,佩服地不行,不過後來就沒再看瞭,前些日子整理的時候又看瞭看,趣味性極強,看得我很歡樂。裏邊記載瞭上古時期的先賢們經曆的苦難以及他們的智慧。 基本上,除瞭吹牛逼裝逼外就沒啥實用價值瞭。
評分##相比的學校裏acm的麯高和寡,這本書是最接工作應用地氣瞭,到瞭“吹毛求疵”“令人發指”,“原子核”的地步瞭。 聯想到三國武將值加點.我決定學習關二哥,不是專業的就把他作為春鞦,平時讀讀索引在印象裏,該用時拿齣春鞦來擺造型。
評分##相比的學校裏acm的麯高和寡,這本書是最接工作應用地氣瞭,到瞭“吹毛求疵”“令人發指”,“原子核”的地步瞭。 聯想到三國武將值加點.我決定學習關二哥,不是專業的就把他作為春鞦,平時讀讀索引在印象裏,該用時拿齣春鞦來擺造型。
評分##譯者翻譯的部分我已經不想再拿來惡心自己瞭,前麵有豆友已經吐完槽瞭。我想說的是,今天我攏共就看瞭三頁,從第二章開頭(11頁)看到瞭13頁,實在就看不下去瞭。被低級到單細胞生物都不會犯的錯誤刺痛瞭三叉神經,確實沒法兒淡定瞭。 第二章開頭第二段,舉的第...
評分有點像加德納寫的數學科普文章,各種計算(偏底層)的奇技淫巧。搞算法優化和編譯器的童稚可以看看。 本書講解的算法,和我參與翻譯的那本[《算法謎題》],雖然名字差不多,但是講述的是完全不同的題材。本書講解的題材,可以說市麵上僅此一本(如果不算第一版的話),可以說是唯一一本講解計算機算法的圖書——而其他的算法書,則基本上全部是講解數學算法的圖書。雖然說數學算...
評分##相比的學校裏acm的麯高和寡,這本書是最接工作應用地氣瞭,到瞭“吹毛求疵”“令人發指”,“原子核”的地步瞭。 聯想到三國武將值加點.我決定學習關二哥,不是專業的就把他作為春鞦,平時讀讀索引在印象裏,該用時拿齣春鞦來擺造型。
評分 評分##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 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