This talk starts very simple — with seconds. It explains exactly what a second is — what is under the hood, what it can do, and most importantly how and why it fails at compile time. Failing at compile time, instead of at run time is the critical design philosophy that runs through chrono.
Slowly the talk adds complexity — other units of time duration, custom time durations, conversions among durations, points in time, etc. With each addition, another layer of the chrono onion is peeled away.
By the end of the talk, you will understand both the importance of the simplicity of chrono, and the power available to you if you avoid the typical mistakes beginners make when first learning chrono. Even experts will find at least one undiscovered gem in this talk to take back to their own code. And you may see ways to transfer some of the chrono design principles into your own designs.
People who attend this talk will be especially well prepared for my later talk about time zones.
This talk is a prequel to my CppCon 2015 talk — https://www.youtube.com/watch?v=tzyGjOm8AKo
Howard Hinnant
Senior Software Engineer, Ripple
* *
* *
«Cppcon» — 10.01.2025 18:07
«Cppcon» — 09.01.2025 18:07
«Cppcon» — 08.01.2025 18:07
Video | Views | Date | |
---|---|---|---|
2 597 | 07.01.2025 | ||
Vectorizing Computational Fluid Dynamics (Cfd) Code In C++ Using Std::simd - Olaf Krzikalla - Cppcon - Vectorizing a Computational Fluid Dynamics (CFD) Code in C++ Using std::simd Supplemented by (Almost) Transparent Loading and Storing - Olaf... | |||
1 515 | 06.01.2025 | ||
Designing C++ Code Generator Guardrails: A Collaboration Among Outreach & Development Teams & Users - Designing C++ Code Generator Guardrails — A Collaboration Among Outreach and Development Teams and Users - CB Bailey & Sherry Sontag - CppCon 2024... | |||
3 084 | 04.01.2025 | ||
Async Stacks: Making Senders And Coroutines Debuggable - Ian Petersen & Jessica Wong - Cppcon 2024 - Async Stacks — Making Senders and Coroutines Debuggable - Ian Petersen & Jessica Wong - CppCon 2024 Debugging asynchronous code is hard; partially... | |||
3 653 | 03.01.2025 | ||
Embracing An Adversarial Mindset For C++ Security - Amanda Rousseau - Cppcon 2024 - Access All 2024 Session Videos Ahead of Their Official Release To YouTube. At least 30 days exclusive access through the Early Access system. Videos... |
Cppcon 2016: Howard Hinnant “A <Chrono> Tutorial", Cppcon
https://thewikihow.com/video_P32hvk8b13M
Гистограмма просмотров видео «Cppcon 2016: Howard Hinnant “A <Chrono> Tutorial"» в сравнении с последними загруженными видео.