Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Tuesday, May 16 • 11:00am - 12:30pm
Rethinking Strings

Log in to save this to your schedule and see who's attending!

Feedback form is now closed.
At VMware `std::string` has served us well. We have built and shipped large
codebases around it. However, that experience has also taught us some of its
shortcomings. Now is a good time to take a step back and re-evaluate the string
design space. Why now? The context has changed dramatically since the dawn of
`basic_string`. The UTF family is the de facto encoding standard. 64bit
addressing will last much longer, in a much wider range of devices, than prior
addressing modes. We have `constexpr`, and soon will have ranges and
reflection. The library now includes `string_view`, all three major STL
implementations use the small string optimization, and Eric Neibler has given us
`folly::FixedString`. A `std::text_view` proposal is in flight. Even
`std::optional`, and smart pointers have some something to say about strings.

In this talk we will dissect strings along dimensions such as storage duration,
encoding, mutability, etc., and then see if we can knit it all back together
into a cohesive, modern, set of library and language features. I won't have all
the answers, so show up and speak up!

Speakers
avatar for Mark Zeren

Mark Zeren

Staff Engineer, VMware
Mark is a staff engineer at VMware where he works on C++ libraries, coding standards, and toolchains.



Tuesday May 16, 2017 11:00am - 12:30pm
Hudson Commons

Attendees (38)