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
發表於2024-12-22
Hacker's Delight 2024 pdf epub mobi 電子書 下載
本書講解的算法,和我參與翻譯的那本《算法謎題》,雖然名字差不多,但是講述的是完全不同的題材。本書講解的題材,可以說市麵上僅此一本(如果不算第一版的話),可以說是唯一一本講解計算機算法的圖書——而其他的算法書,則基本上全部是講解數學算法的圖書。雖然說數學算法...
評分臨行前多讀讀,到時候隨便挑一段代碼講講,絕對讓丫麵無人色~~注意把握分寸一點,當心對方惱羞成怒。 臨行前多讀讀,到時候隨便挑一段代碼講講,絕對讓丫麵無人色~~注意把握分寸一點,當心...
評分 評分 評分年輕時買的,當時看瞭頭幾頁,佩服地不行,不過後來就沒再看瞭,前些日子整理的時候又看瞭看,趣味性極強,看得我很歡樂。裏邊記載瞭上古時期的先賢們經曆的苦難以及他們的智慧。 基本上,除瞭吹牛逼裝逼外就沒啥實用價值瞭。
圖書標籤: 算法 計算機 計算機科學 編程 Hacker's_Delight Programming programming 程序設計
有點像加德納寫的數學科普文章,各種計算(偏底層)的奇技淫巧。搞算法優化和編譯器的童稚可以看看。
評分有點像加德納寫的數學科普文章,各種計算(偏底層)的奇技淫巧。搞算法優化和編譯器的童稚可以看看。
評分有點像加德納寫的數學科普文章,各種計算(偏底層)的奇技淫巧。搞算法優化和編譯器的童稚可以看看。
評分http://www.itpub.net/thread-1731402-1-1.html
評分http://www.itpub.net/thread-1731402-1-1.html
Hacker's Delight 2024 pdf epub mobi 電子書 下載