I Didn't Order That, So Why Is It On My Bill, Episode 1

1 · · June 22, 2009, 7 a.m.
C++ was designed to ensure you "only pay for what you use," and at that it is mostly successful. But it's not entirely successful, and I thought it might be interesting to explore some counterexamples: C++ features you don't use but still negatively impact performance, and ways in which other languages avoid those issues. So here's the first episode of I Didn't Order That, So Why Is It On My Bill, to be continued until I can't think of any more. Inline Functions The C++ standard says this: ...