CppCast· Folge 370

Physical Units and a System of Quantities

Freitag, 20. Oktober 2023 · 58 min

MP3

Shownotes

Mateusz Pusz joins Phil and new guest co-host, Anastasia Kazakova. Mateusz talks to us about his physical units (and quantities) library, mp-units, why v2 is a complete redesign compared to the previous version, and how incorporating a system of quantities is so central to this new design.
News

• clang 17 released (discourse.llvm.org/t/llvm-17-0-1-released/73549)

• Conference videos released in October (reddit.com/r/cpp/comments/179a5sb/c_videos_rel…)

• AMA with Abbas Sabra (automatic/ static analysis) (reddit.com/r/cpp/comments/17a0aue/ama_with_abb…)

• Is it too hard for junior developers to get on the C++ career ladder (Reddit) (reddit.com/r/cpp/comments/17a5hpq/tell_me_if_m…)

Links

• mp-units on GitHub (github.com/mpusz/mp-units)

• mp-units - Documentation (mpusz.github.io/mp-units)

• C++ on Sea 2023 video (youtube.com/watch?v=eUdz0WvOMm0)

• The Mars Climate Orbiter crash (en.wikipedia.org/wiki/Mars_Climate_Orbiter)

• p1935 - "A C++ Approach to Physical Units" (wg21.link/p1935)

• p2980 - "A motivation, scope, and plan for a physical quantities and units library" (wg21.link/p2980)

• p2981 - "Improving our safety with a physical quantities and units library" (wg21.link/p2981)

• p2982 - "std::quantity as a numeric type" (wg21.link/p2982)

• p3003 - "The design of a library of number concepts" (wg21.link/p3003)

0:00 / 0:00