grpc-ecosystem / awesome-grpc

A curated list of useful resources for gRPC
Creative Commons Attribution 4.0 International
7.41k stars 569 forks source link

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

Open yingshaoxo opened 1 year ago

andrewcrook commented 1 month ago

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.