Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Optimizing a String Class for Computer Graphics in C++ - CppCon 2022

CppCon via YouTube

Overview

Explore an in-depth case study on optimizing string performance for computer graphics applications in this CppCon 2022 conference talk. Learn about SIMDString, an open-source replacement for std::string designed for graphics applications that perform frequent copy construction and concatenation on small strings. Discover how SIMDString leverages SIMD instructions, employs a freelist optimized allocator, and utilizes various micro-optimizations to achieve over 5x faster performance than std::string. Examine the tradeoffs between different string implementations and understand why certain optimizations are particularly effective for graphics applications. Gain insights into improving GPU shader performance through optimized string handling techniques presented by research scientists from NVIDIA and Roblox.

Syllabus

Optimizing A String Class for Computer Graphics in Cpp - Zander Majercik, Morgan McGuire CppCon 22

Taught by

CppCon

Reviews

Start your review of Optimizing a String Class for Computer Graphics in C++ - CppCon 2022

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.