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


Apache Releases Tomcat 11
07/11/2024

Apache has announced the release of Tomcat 11, as well as marking the 25th anniversary of the first commit to the Apache Tomcat source code repository since becoming an ASF project.



AI Propels Python To Top Language on GitHub
30/10/2024

This year's Octoverse Report reveals how AI is expanding on GitHub and that Python has now overtaken JavaScript as the most popular language on GitHub. The use of Jupyter Notebooks has also surged.


More News

espbook

 

Comments




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

Last Updated ( Tuesday, 16 July 2024 )