site Search Results
Results for: Andrew Koenig
Order the NEW
Discounted Dr. Dobb's Developer Library DVD 6
Purchase the fully searchable DVD for $59.95 - a 60% discount! Features
21 years of Dr. Dobb's Journal, 15 years of Sys Admin
magazine, 14+ years of C/C++ Users Journal, 1 year worth of Dr.
Dobb's Digest, podcasts, videos and more! Order Now.
Divide and Conquer -- If You're Patient Enough
Optimization is not always a synonym for "making a program run faster." - C/C++
An Extreme Example of Space Optimization
This week, I want to talk about sacrificing time to gain space. - C/C++
An Extreme Example of Architectural Optimization
Choosing the right data structure turned out to make more of a difference in execution time than removing a horrendous inefficiency in a runtime library. - C/C++
Optimization and Context
Programmers who think about how — and whether — to try to optimize a piece of code should keep in mind the context of both the code and the optimization. - C/C++
Optimization: Calling By Value Or By Reference To Const?
Here's another reason for thinking carefully about optimizations rather than making them automatically. - C/C++
Destructors Considered Harmful
Allocating dynamic resources may seem hazardous but freeing them is the real hazard. - C/C++
Two Different Kinds of Optimization
Experience with SPITBOL suggests that there are at least two fundamentally different kinds of optimization, and that the advice to defer optimization applies only to one of those kinds. - C/C++
More Dirty Tricks in SPITBOL
This post continues the discussion about dirty tricks in the SPITBOL compiler. - C/C++
Misusing Floating-Point Arithmetic for Fun and Profit
One more circumstance in which a programming technique that looks truly awful at first glance turns out to be the best way to solve its particular problem. - C/C++
Some Programs Are Poorly Designed On Purpose
SPITBOL was carefully and thoroughly documented — but that documentation revealed programming techniques that to this day make me cringe. - C/C++