Couchbase C++ SDK Goes GA
Written by Nikos Vaggalis   
Tuesday, 16 July 2024

Accessing and working with Couchbase from C++ is now possible, thanks to the release of a C++ SDK that provides integration with Couchbase Server.

Adding support for C++ might sound weird nowadays when there's more popular languages than it. However, under the covers these languages like Python, NodeJS, Ruby, and PHP bind to Couchbase through this same C++ SDK. As such, releasing the SDK to the public, in addition to the already eleven available SDKs in a variety of programming languages, offers advantages that only a low-level language like C++ confers.

Speaking of which, what are they ?

  • Performance
    C++ is renowned for its speed and low-level memory management, making it ideal for applications where performance is critical
  • Seamless Integration
    The SDK provides seamless integration with Couchbase Server, enabling developers to easily perform operations such as KV operations, SQL++ queries, and transactions.
  • Modern API Design
    The SDK features a modern, idiomatic API that aligns with the latest C++ standards. This makes it not only powerful but also intuitive for C++ developers, reducing the learning curve and allowing you to start building applications quickly.

Hooking into the SDK gets you :

  • Easy Connection Management
  • Key-Value (KV) Operation Support
  • Query Search
  • Vector Search Support
  • Full Text Search (FTS)
  • Asynchronous Programming
  • Transactions
  • Robust Error Handling

To see it in action, you need a C++ 17 compiler and CPM.cmake to include it in your project. Then you can perform operations like the very common one of getting hold of a document, modifying its contents, and replacing it:

couch1


You can now enjoy the freedom and performance that only low level C++ can offer you.

 couchdb

More Information

Couchbase C++ Client
Couchbase C++ SDK 1.0

Related Articles

Couchbase's Coding Assistant Goes GA

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Geoffrey Hinton Shares Nobel Prize For Physics 2024
08/10/2024

with John Hopfield, for "foundational discoveries and inventions that enable machine learning with artificial neural networks."



CouchDB 3.4 Strengthens Password Hashes
03/10/2024

CouchDB 3.41 has been released with stronger password hashes, a Lucene-based full text search implementation, and QuickJS as a JavaScript option.


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 16 July 2024 )