Talks to Watch

Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”

41K views · Oct 11, 2019 · 1:00:17 · 3 HN recommenders · 5 mentions · discussed 2020–2022

Stephan T. Lavavej's CppCon 2019 talk on implementing floating-point to_chars and from_chars in Microsoft's C++ STL. It covers the history of float-string conversion and the algorithms that make it much faster.

Why Hacker News points people here: HN calls it a surprisingly fun, approachable talk on a hard problem and cites it in floating-point threads.

“Stephan T Lavavej also had a surprisingly fun and approachable talk on that problem”HN comment, 2020

What Hacker News said 5

Strongly recommendsForricideSep 2022

“I really love this talk in particular”

Favorite talk, on charconv

Full comment

I really love this talk in particular: this video (On charconv) But any of the ones I've seen from Stephan have been fantastic, I think, although I'm not actually sure if I've seen more. He seems to have a lot of talks on very specific subjects, which can be really fun. > Hyrum Wright is in the audience yelling interjections as a result of Hyrum's law This sounds absolutely hilarious, I'll have to take a look.

in “C++20, How Hard Could It Be” · view on HN
RecommendsosoloSep 2020

“Stephan Lavavej gave a talk about this very subject during CppCon 2019”

More on how charconv performance was achieved

Full comment

For those interested in more information about performance was achieved, Stephan Lavavej gave a talk about this very subject during CppCon 2019 [1]. [1] this video

in “Parsing floats in C++: benchmarking strtod vs. from_chars” · view on HN
RecommendsygraOct 2020

“Stephan T Lavavej also had a surprisingly fun and approachable talk on that problem”

Fun, approachable talk on charconv implementation in Microsoft's STL

Full comment

Stephan T Lavavej also had a surprisingly fun and approachable talk on that problem, talking about how charconv got implemented and improved in Microsoft's C++ standard library: this video

in “Rendering floating numbers: advances in problems you didn’t know you had (2011)” · view on HN
Cites itygraSep 2020

Linked alongside Ryu algorithm references

Full comment

Actually, there's even more recent research into doing this really efficiently, using an algorithm called Ryū. [e] link [-4] link [1.73] this video

in “Floating Point in the Browser, Part 1: Impossible Expectations” · view on HN
Cites itStephanTLavavejSep 2022

“CppCon 2019: Floating-Point charconv: Making Your Code 10x Faster With C++17's Final Boss”

Speaker's own list of conference talks, includes this one

Full comment

I'm glad you liked my charconv talk! Here's a complete list of my recorded conference talks: BoostCon/C++Now 2012: Regex In C++11 And Boost: link GoingNative 2012: STL11: Magic && Secrets: link GoingNative 2013: Don't Help The Compiler: link GoingNative 2013: rand() Considered Harmful: link CppCon 2014: STL Features And Implementation Techniques: link CppCon 2015: functional: What's New, And Proper Usage: link CppCon 2016: tuple: What's New, And How It Works: link CppCon 2018: Class Template Argument Deduction for Everyone: link CppCon 2019: Floating-Point charconv: Making Your Code 10x Faster With C++17's Final Boss: this video CppCon 2020: C++20 STL Features: 1 Year of Development on GitHub: link Pure Virtual C++ 2022: MSVC C++20/23 Update: link

in “C++20, How Hard Could It Be” · view on HN