Optimized C++ Kurt Guntheroth
Publisher: O'Reilly Media, Incorporated
Demonstrates a few of the many code-optimization features offered by the Visual C++ 2003 compiler. This is an approximate transcript of my talk at Facebook NYC on December 4, 2012, which discusses optimization tips for C++ programs. In the world of C++ programming, all other things being equal, programs that are smaller and faster are better. Literature Number: 3.3.2 Optimization Considerations When Mixing C/C++ and Assembly . The complete expression is too complicated even for clang. This book is for intermediate C++ programmers (i.e. Discusses ways in which the Microsoft® Visual C++® compiler can optimize source code for speed and size and tells why code size matters. Can someone show me a simple tail-recursive function in C++? TMS320C55x Optimizing C/C++ Compiler v 4.4. If you can observe any different the the compiler is not allowed to remove the object. Mats Petersson suggestion is generally the best "Write the most readable variant" . Some features of the C++ language, if properly used, allow to increase the speed of the resulting software.