By Tom Manshreck, Abseil Tech Writer
CppCon 2018 was held in Bellevue, WA at the end of September.
C++ has changed a lot since the transformative introduction of C++11. It is now all too apparent that C++ API Design itself also needs to change as the lessons learned about, for example, type design become more understood.
Titus Winters reflects on the changes to C++ and how the introduction of new principles such as move-only types have affected API design in this two-part talk.
In the first part, Titus focuses on parameter passing and an API’s
overload set in providing a powerful conceptual framework for API
design. In the second part, we focus on the properties of well-designed
types, and how to think about things like Regularity. We discuss how
Regularity affects the design of non-owning reference types
If you haven’t already, check out Titus’ original blog post on “Revisiting Regular Types” for more background information.
Almost every spring and fall there are news headlines about software that misbehaved during a daylight-saving transition. In much of the world, DST transitions occur multiple times per year, yet it is still a veritable minefield of latent bugs due to the complexities inherent in reasoning about civil-time discontinuities. To avoid these problems, a civil-time library must present the programmer with a correct — yet simplified — model that makes expressing the desired intent easy and writing bugs more obvious.
To that end, we are very pleased to introduce a new feature for the Abseil time library — civil time support. This update adds a set of constructs and functions that are used to represent and perform computations with civil times.
We are extremely pleased to announce the availability of the new “Swiss Table”
family of hashtables in Abseil and the
absl::Hash hashing framework that
allows easy extensibility for user defined types.
Last year at CppCon, We presented a talk on a new hashtable that we were rolling out across Google’s codebase. When asked about its release date, we may have been a touch optimistic. But hopefully it will have been worth the wait. As an added bonus, this release also comes with an entirely new framework for hashing your types. As with all things of this size, this is the work of a great many people.
By Junjay Tan
Abseil Python now includes a documentation set on abseil.io!
Abseil wants to help developers avoid common mistakes unique to our collection of libraries. Therefore, we have developed a set of clang-tidy checks for Abseil, allowing you to catch these errors early on before they become bigger problems.