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 Facebook or Linkedin.

Banner


PHP 8.5 Adds URI Extension
12/12/2025

PHP 8.5 has been released with an extension supporting secure URI and URL parsing, a new a pipe operator and persistent cURL handles. 



Kaggle Contest To Predict 3D Structure Of RNA
09/01/2026

A contest with a first prize of $50,000 launched on January 7, 2026. It is the second part of the Stanford RNA 3D Folding challenge and has already 102 teams actively participating.


More News

pico book

 

Comments




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

Last Updated ( Tuesday, 16 July 2024 )