These are the timesaving techniques relished by computer hackers-those devoted and persistent code developers who seek elegant and efficient ways to build better software. The truth is that much of the computer programmer's job involves a healthy mix of arithmetic and logic. In Hacker's Delight, veteran programmer Hank Warren shares the tricks he has collected from his considerable experience in the worlds of application and system programming. Most of these techniques are eminently practical, but a few are included just because they are interesting and unexpected. The resulting work is an irresistible collection that will help even the most seasoned programmers better their craft.
Topics covered include:
A broad collection of useful programming tricks
Small algorithms for common tasks
Power-of-2 boundaries and bounds checking
Rearranging bits and bytes
Integer division and division by constants
Some elementary functions on integers
Gray code
Hilbert's space-filling curve
And even formulas for prime numbers!
This book is for anyone who wants to create efficient code. Hacker's Delight will help you learn to program at a higher level-well beyond what is generally taught in schools and training courses-and will advance you substantially further than is possible through ordinary self-study alone.
http://rapidshare.com/files/19774467/N0201914654.rar
http://rapidshare.com/files/19774467/N0201914654.rar
本书分享了资深程序员Hank Warren收集的应用及系统编程领域的高效编程技巧,包括实用的编程窍门、常见任务的小型算法等。内容涵盖位操作、整数运算、格雷码、希尔伯特空间填充曲线等,旨在帮助程序员提升编程技能。
309

被折叠的 条评论
为什么被折叠?



