Seeking gRPC Libraries for Microservices in D Language

Sergey kornburn at yandex.ru
Thu Oct 17 19:17:19 UTC 2024


On Thursday, 17 October 2024 at 17:23:43 UTC, Lover wrote:
> Hello everyone,
>
> I'm currently working on building microservices using the D 
> programming language. I'm looking for efficient and 
> well-supported gRPC libraries that are compatible with D. Does 
> anyone have experience with gRPC in D or know of any reliable 
> libraries that I can use?
>
> If native D libraries are scarce or lack support, would it be 
> more practical to interface with a gRPC library written in C or 
> another language? I'd appreciate any insights, recommendations, 
> or experiences you could share on this topic.
>
> Thank you in advance for your help!

Hey there

Interesting topic. Please share your experience in any case - 
either you deploy D in production or switch to another solution.

For D there are several options:
- from hunt labs
https://code.dlang.org/packages/grpc
Example: 
https://github.com/huntlabs/grpc-dlang/tree/master/examples
But they had some issues with interop with other languages

- from Harrison Ford
https://code.dlang.org/packages/grpc-d-core
https://code.dlang.org/packages/grpc-d-interop
Example: https://github.com/mw66/grpc-demo/tree/master


More information about the Digitalmars-d mailing list