Pure C client

37 views
Skip to first unread message

zing...@gmail.com

unread,
Jul 16, 2020, 5:43:43 AM7/16/20
to grpc.io
Hello all.

I'm pretty new to grpc and library implementations. I need to integrate grpc client to my pure c embedded application. Can you please advise, is it possible to use gprc library from pure c, without C++ layer?

As I see, for now, there is only Cpp in the examples.

Thank you in advance,
Best regards,
Anton

Lidi Zheng

unread,
Jul 22, 2020, 1:19:47 PM7/22/20
to grpc.io
You can refer to gRPC Core's header file: https://github.com/grpc/grpc/tree/master/include/grpc.

gRPC Core exposes C API, but it contains large number of C++ code. The gRPC Core API is designed to serve language wrappers (like C++, Python, Ruby) and it could be challenge to develop application upon.

Mark D. Roth

unread,
Jul 22, 2020, 1:47:27 PM7/22/20
to Lidi Zheng, zing...@gmail.com, grpc.io
It's also worth noting that the C-core API is not really a public API, since it's aimed at language integrators, not at applications.  In particular, we do not guarantee any backward compatibility in the C-core API; it may change in breaking ways from release to release.  Currently, we do publish gRFCs (see https://github.com/grpc/proposal/) when this happens, but that policy could change in the future.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/d99fbfa9-29b9-4f93-a5ec-145530086398n%40googlegroups.com.


--
Mark D. Roth <ro...@google.com>
Software Engineer
Google, Inc.
Reply all
Reply to author
Forward
0 new messages