example-vcpkg-grpc
asio-grpc examples (by Tradias)
asio-grpc
Asynchronous gRPC with Asio/unified executors (by Tradias)
example-vcpkg-grpc | asio-grpc | |
---|---|---|
1 | 4 | |
5 | 329 | |
- | - | |
2.6 | 9.0 | |
3 months ago | 21 days ago | |
CMake | C++ | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
example-vcpkg-grpc
Posts with mentions or reviews of example-vcpkg-grpc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-14.
-
Generate gRPC source files using CMake
How about some asio stackless coroutines (lol). A simple callback server. Or sender/receiver.
asio-grpc
Posts with mentions or reviews of asio-grpc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-14.
-
Generate gRPC source files using CMake
Since I can never remember what arguments to pass to protobuf_generate to create Protobuf and gRPC source files, I wrote an article about it. It provides a copy-paste-able code snippet along with an explanation of all arguments that protobuf_generate accepts, how to format it nicely using cmake-format and how to make things easier with asio-grpc.
-
Using Asio for asynchronous gRPC clients and servers
Asio-grpc makes exactly that possible by providing an Asio execution_context compatible interface to the CompletionQueue. It supports all types of RPCs (including generic ones), completion tokens, cancellation, as well as libunifex sender/receiver (if you want to try out what might become std::execution). The latest release (v1.7.0) also introduced a GrpcStream class for writing Rust/Golang select-style code.
-
DevBlog #1 - Poseidon
It hasn't been without issue, however. Problems that may lie in official google-maintained libraries are of course present and required design changes, and I was even prompted to write my own bitset library that outperforms the C++ standard's by a factor of 60. Madness. Right?
-
C++20 coroutines for asynchronous gRPC services
Or check out the asio-grpc repository directly if you are looking to write asynchronous gRPC services with the features of Boost.Asio like C++20 coroutines, std::futures, stackless coroutines, callbacks and Boost.Coroutines.
What are some alternatives?
When comparing example-vcpkg-grpc and asio-grpc you can also consider the following projects:
Android-RxJava - Learning RxJava for Android by example
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
example-voting-app - Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all