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

YouTube

Rethinking Strings

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the evolution and future of string design in C++ through this comprehensive conference talk from C++Now 2017. Delve into the shortcomings of std::string and examine the changing context of string usage in modern programming. Analyze strings along various dimensions, including storage duration, encoding, and mutability. Learn about recent developments such as UTF encoding standards, 64-bit addressing, constexpr, ranges, reflection, string_view, small string optimization, and FixedString. Discover how these advancements, along with proposals like std::text_view, impact string design. Engage in a thought-provoking discussion on creating a cohesive, modern set of library and language features for strings in C++. Gain insights from Mark Zeren, a staff engineer at VMware, as he shares his expertise on C++ libraries, coding standards, and toolchains.

Syllabus

Intro
Copyonwrite strings
Small string optimization
Saving sharing
StringView
String View
Layout
Why now
Strings
Code Convert
Notes
Strings Everywhere
String Context
Constants
Values
Locality
Mutable Cow Disease
Sharing and immutability
String instance size
String unset optional
String malleability
Encoding
Data
Encodings
My perspective
Ownership
Void Star

Taught by

CppNow

Reviews

Start your review of Rethinking Strings

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.