By Viktor Sehr,Bjorn Andrist

Key Features

  • Explore concurrent programming in C++
  • Identify reminiscence administration problems
  • Use SIMD and STL boxes for functionality improvement

Book Description

C++ is a simple language and will be used to put in writing complicated purposes and performance-critical code. It has developed and adjusted during the last few years. This ebook will advisor you thru optimizing the functionality of your C++ apps via permitting them to eat fewer assets at the equipment they’re operating on.

The booklet starts with a steady advent that will help you establish the bottlenecks in C++. We stream directly to measuring functionality and you’ll see how this impacts how you write code. subsequent you’ll comprehend the significance of information constitution optimization and the way it may be used successfully. After that, we’ll clarify which set of rules may be used to accomplish speedier execution, by means of tips to use STL containers.

Moving forward, you’ll the way to improve your code’s functionality through executing compiled code. You’ll get hands-on employing a number of cores to allow effective and quicker execution, together with GPUs. After that, you’ll enhance reminiscence administration in C++. We finish with a few concepts you should use to optimize the functionality of your apps.

What you are going to learn

  • Find out tips to use fascinating new instruments to help you enhance your code
  • Identify bottlenecks to optimize your code
  • Develop purposes that make the most of GPU computation
  • Reap some great benefits of concurrent programming
  • Write code which could shield opposed to software mistakes utilizing mistakes handling
  • Know your code and sizzling spots
  • Use STL boxes to accomplish code optimization
  • Extend your toolbox with improve containers
  • Write fresh and secure code that the compiler can optimize
  • Use SIMD to get excessive performance
  • Achieve effective reminiscence administration via deciding upon difficulties reminiscent of leaks
  • Speed up the loading and behaviour of the application

About the Author

Viktor Sehr is the Senior software program Engineer at Propellerhead software program. He has round 10 years of hands-on adventure with C++. he's an skilled C++ developer with real-time special effects software program and architectural layout as his concentration areas.

Here is the hyperlink to his Linkedin account :

https://se.linkedin.com/in/viktor-sehr-9593b32

You may also take a look the contribution made through him on developer groups like Stackoverflow and github:

http://stackoverflow.com/users/100724/viktor-sehr

https://github.com/gloinart?tab=repositories

Bjorn Andrist is the Tech Lead for Mobiles at Propellerhead software program. He has been operating with C++ for greater than 10 years in initiatives starting from server purposes on unix to real-time audio functions on machine and cellular. He formerly additionally taught classes in Algorithms and Datastructures, and Concurrent programming with C++.

You can locate him on LinkedIn at https://se.linkedin.com/in/björn-andrist-25b6b13

Show description

Read Online or Download C++ High Performance PDF

Similar other_5 books

The Everything Large-Print Crossword Dictionary: Finding a solution has never been easier! (Everything®)

Even the easiest crossword puzzlers desire a little support occasionally. And when you desire your puzzles in huge print, here is a crossword dictionary you don't want a magnifying glass to learn! This easy-to-read dictionary is your final source for these difficult crossword dilemmas. it really is packed to the brim with greater than 60,000 solution phrases compiled through puzzlemaster Charles Timmerman.

Fases da lua e outros segredos (Portuguese Edition)

Este livro tem um segredo, ou melhor, trinta e dois segredos. Em delicados contos, Marilda Castanha recompõe em textos e imagens conversas entre irmãos e ternos diálogos entre mãe e filho, todos com surpresa, poesia e graça. Elaborados a partir das epifanias dos filhos da autora, Cecília e Nino, os contos fazem da criança a protagonista das conversas, enquanto o adulto é convidado a redescobrir o mundo e enxergar a lua em sua fase "Casca", perceber que a mãe do pintinho é o ovo e filosofar sobre a localização do próprio umbigo.

Cul-de-Sac Kids Collection One: Books 1-6

New early life Collections from a CBA FavoriteThe Cul-de-Sac childrens is a lighthearted chapter-book sequence for younger readers written by means of the gifted Beverly Lewis. each one publication facilities at the often-humorous escapades of those endearing local neighbors as they research jointly the price of friendship and religion.

30 DAYS of Reading Drills: The Daily Phonics Workout! (Brain Evolution Book 2)

30 Days of interpreting Drills is your solution to the summer season analyzing Slide! 30 Days of studying Drills is ideal evaluation in your scholar any time of the yr. The drills are uncomplicated to do in 5 mins an afternoon and inside of one month your pupil might be interpreting speedier and more straightforward than ever. you should use those drills for handwriting perform, spelling and examining.

Extra info for C++ High Performance

Example text

Download PDF sample

Rated 4.07 of 5 – based on 5 votes