Fun with gRPC and C++
A dive into asynchronous servers and clients using C++ and gRPC in 2023 - 2024
Latest articles
Ramblings from the Viking who run the Cafe at the end of the universe.
A dive into asynchronous servers and clients using C++ and gRPC in 2023 - 2024
Latest articles
Here we implement a client using QT 6.8 with an interactive QML UI!
Here we implement all four operations as actual - usable - methods with event-callbacks.
Here we implement all four operations using the newer - and much nicer - callback interface.
Here we will look into how to use the newer - and much nicer - callback interface.
In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.
Here we implement all four operations, including the bidirectional stream rpc method RouteChat(). We re-use the abstractions we created in the previous article.
Here we implement all four operations, including the bidirectional stream rpc method RouteChat(). We also add more abstractions to minimize the code required for each request.
In this iteration of the client, we add incoming or outgoing streams of requests or replies. We are not yet ready to take on the bi-directional stream.
In this iteration of the server, we add incoming or outgoing streams of requests or replies. We are not yet ready to take on the bi-directional stream.
In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.
A generic cache in C++ that only fetch an item once, even if there are many simultaneous requests for the data.
Restc-cpp is a REST client library for C++ projects.
Many C++ developers seems confused about the secret sauce of asynchronous completions - or composed operations - in Boost.asio.
For C++ developers, more cores to build on means faster builds. If your project is big, more cores can make a significant boost. If you have a local k8 cluster with spare CPU, it's amazingly simple to turn it into a build-machine.
What does it take to make a simple Qt/QML application and deploy it on iOS, Android, macos, Linux, Windows? Let's find out!
How do you ensure that, for example, a database wrapper, only hands out one instance of any given data object?
C++ is a popular Object-oriented language. Json is a popular format for storage of Objects. Why is it so hard to make those two things play ball?
Restc-cpp is a REST client library for C++ projects.
I wasted quite some hours figuring out how to correctly insert new records in a QSqlTableModel derived class.