图书发布二号 2007-3-28 14:24
Hacker's Delight
Title: Hacker's Delight
URL: [url]http://www.amazon.com/exec/obidos/tg/detail/-/0201914654/qid=1043995268/sr=8-1/ref=sr_8_1/103-4360352-8372641?v=glance&s=books&n=507846[/url]
ISBN: 0-201-91465-4
Author: Henry S. Warren Jr.
Publisher: Addison Wesley Professional; ; 1st edition (July 17, 2002)
Page: 320
Edition: Hardcover
Catalog: Hackers
Format: CHM E-Book
Size: 2.11 MB
Amazon.com Sales Rank: 14,608
Average Customer Review: [img]http://g-images.amazon.com/images/G/01/detail/stars-5-0.gif[/img] Based on 2 reviews.
Supplier: xyeon
Summary:
"This is the first book that promises to tell
the deep, dark secrets of computer arithmetic,
and it delivers in spades. It contains every
trick I knew plus many, many more. A godsend
for library developers, compiler writers, and
lovers of elegant hacks, it deserves a spot
on your shelf right next to Knuth."-Josh Bloch
"When I first saw the title, I figured that
the book must be either a cookbook for breaking
into computers (unlikely) or some sort of
?compendium of little programming tricks. It's
the latter, but it's thorough, almost encyclopedic,
in its coverage." -Guy Steele
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.