Skip to content
0:00 / 0:00

#c++#performanceoptimization#andreialexandrescu

Writing Quick Code in C++, Quickly

aghuttun

4.2K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 2 people: 1 in engineering communities and 1 curated list.
  • Presented by Andrei Alexandrescu

Advanced. Deep dive for people who know the field.

111K views13 years ago2 recommendations

Programming languagesSystems programmingC++Performance and optimization

Andrei Alexandrescu shares tactical advice on writing high-performance C++ code that exploits modern CPU architectures.

Day 1 - Contemporary computer architectures make it possible for slow code to work reasonably well. They also make it difficult to write really fast code that exploits the CPU amenities to their fullest. And the smart money is on fast code—we're running out of cool things to do with slow code, and the battle will be on doing really interesting and challenging things at the envelope of what the computing fabric endures. So how to write quick code, quickly? Turns out it's quite difficult because today's complex architectures defy simple rules to be applied everywhere. It is not uncommon that innocuous high-level artifacts have a surprisingly high impact on the bottom line of an application's run time (and power consumed). This talk is an attempt to set forth a few pieces of tactical advice for writing quick code in C++. Applying these is not guaranteed to produce optimal code, but is likely to put it reasonably within the ballpark. These tips are based on practical experience but also motivated by the inner workings of modern CPUs.

Why it's here

2 people recommend this

What people say. Highly recommended for learning how to write high-performance C++ code.

Moments people linked to

programming-talkscurated list on GitHubRecommends

Under “C++”

Writing Quick Code in C++, Quickly 01:11:37 by **Andrei Alexandrescu** (2013)

u/Serious-Regularin r/compsci • Recommends

On “What is it that got you more invested into CS?”

link to this video
-3View on Reddit