Thread overview
Seeking gRPC Libraries for Microservices in D Language
Oct 17
Lover
Oct 17
Sergey
Oct 18
mw
Oct 18
Sergey
Oct 18
mw
October 17

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!

October 17

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:

October 18

On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote:

>

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?

My advice: none of the following grpc D library are of production quality:

>

For D there are several options:

If you insist on using grpc, I would suggest using the official C++ grpc which forward the internal real processing to D language via the D C++ external interface.

October 18

On Friday, 18 October 2024 at 01:35:33 UTC, mw wrote:

>

On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote:

>

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?

My advice: none of the following grpc D library are of production quality:

What about other available options?
There are some ports of Avro and MessagePack?
Thrift also has support of D.

Did you try it? Do you think any of them are production ready?

October 18

On Friday, 18 October 2024 at 06:52:28 UTC, Sergey wrote:

>

On Friday, 18 October 2024 at 01:35:33 UTC, mw wrote:

>

On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote:

>

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?

My advice: none of the following grpc D library are of production quality:

What about other available options?
There are some ports of Avro and MessagePack?
Thrift also has support of D.

Did you try it? Do you think any of them are production ready?

Tried Thrift, it might be production ready, since it's officially maintained by the Thrift team. However, it has a build issue (unless you want to manually fix it)

https://issues.dlang.org/show_bug.cgi?id=22083