Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

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

    CppCon

    3 HN recommenders · recommended in 3 months, 2020–2022

    YouTube

    1:00:17 · 41K views · Oct 11, 2019

    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.

    HN calls it a surprisingly fun, approachable talk on a hard problem and cites it in floating-point threads.

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesSoftware performance & optimizationAlgorithms & data structures
    1. 31:19
      CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook"CppCon122K views • 10 years ago
    2. 1:19:52
      CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon264K views • 10 years ago
    3. 59:34
      CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon137K views • 9 years ago
    4. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    5. 1:54:00
      Can C++ be 10x Simpler & Safer? - Herb Sutter - CppCon 2022CppCon277K views • 3 years ago
    6. 1:00:07
      CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”CppCon358K views • 9 years ago
    7. 1:12:27
      CppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon196K views • 11 years ago
    8. 54:48
      CppCon 2018: Hana Dusíková “Compile Time Regular Expressions”CppCon14K views • 8 years ago
    9. 1:39:25
      CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”CppCon149K views • 10 years ago
    10. 1:29:54
      CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"CppCon188K views • 11 years ago
    11. 55:49
      CppCon 2016: Chandler Carruth “High Performance Code 201: Hybrid Data Structures"CppCon119K views • 10 years ago
    12. 1:00:58
      CppCon 2017: Chandler Carruth “Going Nowhere Faster”CppCon113K views • 9 years ago
    13. 1:29:55
      Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019CppCon184K views • 7 years ago
    14. 1:04:26
      CppCon 2018: G. Nishanov “Nano-coroutines to the Rescue! (Using Coroutines TS, of Course)”CppCon40K views • 8 years ago
    15. 1:03:44
      CppCon 2015: Timur Doumler “C++ in the Audio Industry”CppCon131K views • 11 years ago
    16. 1:15:46
      CppCon 2017: Matt Godbolt “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”CppCon178K views • 9 years ago
    17. 1:40:27
      CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style"CppCon323K views • 12 years ago
    18. 1:27:46
      CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon863K views • 12 years ago
    19. 1:29:06
      CppCon 2015: Herb Sutter "Writing Good C++14... By Default"CppCon193K views • 11 years ago
    20. 1:14:22
      CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”CppCon289K views • 9 years ago

    5 comments from Hacker News

    1. @ForricideSep 2022· in “C++20, How Hard Could It Be”

      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.

      Strongly recommendsView on HN
    2. @ygraOct 2020· in “Rendering floating numbers: advances in problems you didn’t know you had (2011)”

      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

      RecommendsView on HN
    3. @osoloSep 2020· in “Parsing floats in C++: benchmarking strtod vs. from_chars”

      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

      RecommendsView on HN
    4. @StephanTLavavejSep 2022· in “C++20, How Hard Could It Be”

      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]

      CitesView on HN
    5. @ygraSep 2020· in “Floating Point in the Browser, Part 1: Impossible Expectations”

      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

      CitesView on HN