CppCon 2016: Howard Hinnant “A <chrono> Tutorial"

Pubblicato il: 04 ottobre 2016
sul canale di: CppCon
64,574
1.3k

http://CppCon.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2016

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:    • CppCon 2015: Howard Hinnant “A C++14 appro...  

Howard Hinnant
Senior Software Engineer, Ripple
Lead author of several C++11 features including: move semantics, unique_ptr and . | | Lead author on three open source projects: A std::lib implementation: http://libcxx.llvm.org | An Itanium ABI implementation: http://libcxxabi.llvm.org | A date/time/timezone library: https://github.com/HowardHinnant/date

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf


In questa pagina del sito puoi guardare il video online CppCon 2016: Howard Hinnant “A <chrono> Tutorial" della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CppCon 04 ottobre 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 64,574 volte e gli è piaciuto 1.3 mille spettatori. Buona visione!