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


Raspberry Pi Beaten To It With Pico Plus 2
02/10/2024

RPi recently announced the Pico 2, but while we are all waiting for the more useful Pico 2W, with WiFi, the tiny Pimoroni outfit has produced something better - the Pico Plus 2 with WiFi. What is goin [ ... ]



PostgreSQL 17 Is Released
14/10/2024

with many improvements and features. Let's find out all about them.


More News

espbook

 

Comments




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

Last Updated ( Tuesday, 16 July 2024 )