THE VIDEO SHELF · floating-point string conversion
Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”
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 HN readers recommended it
HN calls it a surprisingly fun, approachable talk on a hard problem and cites it in floating-point threads.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- CppCon
- Topic
- floating-point string conversion
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 5
- Recommendation years in dataset
- 2020–2022
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
I really love this talk in particular: [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, …
Forricide on Hacker News · 2022-09
In C++20, How Hard Could It BeFor those interested in more information about performance was achieved, Stephan Lavavej gave a talk about this very subject during CppCon 2019 [1]. [1] [VIDEO]
osolo on Hacker News · 2020-09
In Parsing floats in C++: benchmarking strtod vs. from_charsStephan 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: [VIDEO]
ygra on Hacker News · 2020-10
In Rendering floating numbers: advances in problems you didn’t know you had (2011)
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.