What is new with Google Cloud and C++

Carlos O'Ryan
Google Cloud - Community
1 min readMay 23, 2022

Carlos O’Ryan and Greg Miller

It has been a while since we posted anything about C++ progress in GCP. That’s because we have been working hard to expand the collection of C++ libraries. We are happy to report that C++ boasts more than 80 client libraries for GCP, including powerful AI-based services such as Text-to-Speech, Cloud Vision, Speech-to-Text, Video Intelligence, as well as general purpose services such as Secret Manager, Cloud Scheduler, and Cloud Tasks. This complements our existing libraries for Bigtable, Pub/Sub, Spanner, and Storage, and the Functions Framework for deployment to serverless environments.

We still have many other services in the works, including Pub/Sub Lite, BigQuery, and Firestore. We plan to constantly update the C++ client libraries to keep them current as GCP improves its existing services or launches new ones.

We are also working to make the C++ client libraries easier to use for C++20 developers. For example, we recently introduced support for coroutines for asynchronous operations. This can improve readability for complex streaming services. With coroutines, handling of asynchronous streaming responses from the Speech-To-Text service can be a simple loop:

The full-code includes a separate coroutine to write the audio

We always welcome feedback about these libraries. Let us know what you liked, or disliked about the libraries. You can contact your sales rep, or directly contact the engineers by filing issues on our GitHub project page, or joining the C++ channel on the GCP Community Slack. We look forward to hearing from you.

--

--

Google Cloud - Community
Google Cloud - Community

Published in Google Cloud - Community

A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.