Cassandra Summit is back! Join us in San Jose, CA on March 13-14. Learn more.

Toggle Menu
C++ Driver for Cassandra Open Sourced!

I'm glad to announce that we open source today our C++ Driver for Apache Cassandra, following our plan to bring a simple and modern API for Cassandra to major programming languages. Just like our Java DriverC# Driver and Python Driver, this C++ Driver targets Cassandra 1.2+ as it's designed for CQL and the CQL Binary Protocol. It's based on the original work of Matt Stump on libcql. As Matt has recently joined DataStax, the effort on this C++ interface for Cassandra will be continued within this new project and libcql will no longer be maintained.

This new driver is still under development but all the major features that you can find in our other drivers are already there:

  • Native API for CQL
  • Fully asynchronous architecture, making it easy to send several requests in parallel without any thread pool tuning
  • Support for Prepared Statements
  • Automatic fail over and reconnection
  • Support for CQL Collections
  • SSL support and Authentication
  • Load Balancing and Retry Policies
  • Similar API as other DataStax Drivers to make it easier for polyglot applications and developers

We have some work planned on adding support for compression and query tracing before we finalize a first version of this driver. Meanwhile, as for our other drivers, we'll heavily test it to make sure it's ready for the most demanding production deployments.

A first beta will be released soon. Meanwhile the following resources are available to help you to start:

Don't hesitate to give a try to this driver and share your comments or feedbacks with us!

Authored by

Sign up for our Developer Newsletter

Get the latest articles on all things data delivered straight to your inbox.

Open-Source, Scale-Out, Cloud-Native NoSQL Database

Astra DB is scale-out NoSQL built on Apache Cassandra™. Handle any workload with zero downtime and zero lock-in at global scale.

Open-Source, Scale-Out, Cloud-Native NoSQL Database