Articles with tag c++

Fun with gRPC and C++

Published:

A dive into asynchronous servers and clients using C++ and gRPC in 2023 - 2024

Latest articles

Read on...

Using QT's native gRPC support

Published:

Here we implement a client using QT 6.8 with an interactive QML UI!

Read on...

Exploring how to implement the client using gRPC async callbacks

Published:

Here we implement all four operations as actual - usable - methods with event-callbacks.

Read on...

Exploring how to implement the server using gRPC async callbacks

Published:

Here we implement all four operations using the newer - and much nicer - callback interface.

Read on...

Exploring the async callback interface for gRPC in C++

Published:

Here we will look into how to use the newer - and much nicer - callback interface.

Read on...

Implementing a unary, async client

Published:

In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.

Read on...

Implementing the full routeguide async client

Published:

Here we implement all four operations, including the bidirectional stream rpc method RouteChat(). We re-use the abstractions we created in the previous article.

Read on...

Implementing the full routeguide async server

Published:

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.

Read on...

Implementing an async client with one message and one stream.

Published:

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.

Read on...

Implementing an async server with one message and one stream.

Published:

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.

Read on...

Implementing a unary, async server

Published:

In the first iteration, we will deal with a traditional RPC call; it takes one input argument and returns one output value.

Read on...

A smart asynchronous object-cache in C++

Published:

A generic cache in C++ that only fetch an item once, even if there are many simultaneous requests for the data.

Read on...

Version 0.90 of restc-cpp with important new features

Published:

Restc-cpp is a REST client library for C++ projects.

Read on...

The great mystery on how to make durable, asynchronous functions for asio.

Published:

Many C++ developers seems confused about the secret sauce of asynchronous completions - or composed operations - in Boost.asio.

Read on...

Deploying distcc in a kubernetes cluster to transform it into a big, fast build-machine.

Published:

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.

Read on...

Some words about a simple experiment with QT

Published:

What does it take to make a simple Qt/QML application and deploy it on iOS, Android, macos, Linux, Windows? Let's find out!

Read on...

How to make std::shared_ptr<> objects singleton instances

Published:

How do you ensure that, for example, a database wrapper, only hands out one instance of any given data object?

Tags C++

Read on...

Serializing directly between C++ objects and Json files

Published:

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?

Read on...

The second beta of restc-cpp is released

Published:

Restc-cpp is a REST client library for C++ projects.

Read on...

Getting QSqlRecord right

Published:

I wasted quite some hours figuring out how to correctly insert new records in a QSqlTableModel derived class.

Read on...