position:abseil engineer

  • The Abseil str_format Library
    https://abseil.io/blog/20180622-format

    By Juemin Yang, Abseil Engineer

    Abseil now includes a type-safe string formatting library: str_format. The str_format library is a typesafe replacement for the family of printf() string formatting routines within the standard library header. The str_format library provides most of the functionality of printf() type string formatting and a number of additional benefits:

    Type safety, including native support for std::string and absl::string_view Reliable behavior independent of standard libraries Support for the POSIX positional extensions Much faster (generally 2 to 3 times faster) than native printf functions Streamable to a variety of existing sinks

    For more information, consult Abseil’s StrFormat Guide If you are interested in the design of this library, check out our (...)

  • Abseil No Longer Depends on CCTZ
    https://abseil.io/blog/20180511-cctz-removal

    An Update On Our Dependencies

    By Shaindel Schwartz, Abseil Engineer

    As of the April 23 update, af78826 , Abseil no longer requires an external dependency on CCTZ. If you have included the CCTZ project solely to satisfy the Abseil dependency, you can now safely remove it from your project’s setup.

    We are in the process of adding some updates to our Time library. As a transitional step in this set of planned updates, we have added an internal fork of the CCTZ types and dropped the dependency on the external CCTZ project. To avoid potential name conflicts with a project’s independent use of the CCTZ library, our internal copy lives in a unique, internal absl namespace. The internal copy is intended solely as an implementation detail underpinning our provided Time APIs. As with all (...)