awesome-grpc icon indicating copy to clipboard operation
awesome-grpc copied to clipboard

Where is the grpc library that related to `C` programming language?

Open yingshaoxo opened this issue 1 year ago • 1 comments

yingshaoxo avatar Feb 03 '23 05:02 yingshaoxo

gRPC is written in C++ and it is possible to call C++ libraries from C. I suggest you look up extern "C"

Here is a stackoverflow thread

There are some C libraries out there which do this C wrappers around the C++ Core using the dynamic library libgrpc. Here is an older example , the newer one is possibly a fork from this.

Language support such as Python is a wrapper and is using cython basically a C interface to the library.

andrewcrook avatar Jun 01 '24 14:06 andrewcrook