Results 1 to 7 of 7

Thread: Book on Effecient C++ Programming

  1. #1
    Join Date
    May 2011
    Beans
    31

    Book on Effecient C++ Programming

    I am looking for a book (or any resource) on high-performance C++ programming techniques. I know how to program in C++, but I want to learn habits for developing more efficient code. Any suggestions?

  2. #2
    iMac71 is offline Gee! These Aren't Roasted!
    Join Date
    Dec 2012
    Beans
    166

    Re: Book on Effecient C++ Programming


  3. #3
    Join Date
    Nov 2012
    Beans
    23

    Re: Book on Effecient C++ Programming

    I haven't read it, so don't know if this book is any good, but is free online, and looks like the kinda thing you're after, so you may want to check it out;
    http://www.e-booksdirectory.com/details.php?ebook=1862

  4. #4
    Join Date
    Feb 2009
    Beans
    1,469

    Re: Book on Effecient C++ Programming

    Have you studied any algorithmic analysis or data structures? I'm sure there are tons of obscure hacks that you can do to make your C++ programs run faster, but as they say, "It's the algorithm, stupid." In other words, you'll almost universally get better results from reworking your algorithms (which is essentially language-agnostic) than you will from taking advantage of stuff that's specific to C++.

  5. #5
    Join Date
    Sep 2005
    Location
    Rural Nevada, USA
    Beans
    314
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: Book on Effecient C++ Programming

    May be pretty dated, but has anybody read Code Complete recently?

    I had the first edition, and found it very useful.

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Book on Effecient C++ Programming

    Modern C++ Design: Generic Programming and Design Patterns Applied.

    This book makes use of and explores a C++ programming technique called template metaprogramming, a technique in which templates are used by a compiler to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled. The output of these templates include compile-time constants, data structures, and complete functions. The use of templates can be thought of as compile-time execution.

  7. #7
    Join Date
    May 2012
    Location
    a planet far away
    Beans
    34
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Book on Effecient C++ Programming

    Bjarne Stroustrup's is responsible for the language. Check out his masterpiece after you've read all the other suggestions. Its not for the faint of heart. I don't recommend his haircut though! I used to have an autograph copy of his book...lost it in a blaze

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •