digitalmars.D - Seeking gRPC Libraries for Microservices in D Language
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!
Oct 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: - 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
Oct 17
On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote:On Thursday, 17 October 2024 at 17:23:43 UTC, Lover wrote:My advice: none of the following grpc D library are of production quality: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?For D there are several options: - from hunt labs https://code.dlang.org/packages/grpc...- 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/masterIf 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.
Oct 17
On Friday, 18 October 2024 at 01:35:33 UTC, mw wrote:On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote: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?On Thursday, 17 October 2024 at 17:23:43 UTC, Lover wrote:My advice: none of the following grpc D library are of production quality: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?
Oct 17
On Friday, 18 October 2024 at 06:52:28 UTC, Sergey wrote:On Friday, 18 October 2024 at 01:35:33 UTC, mw wrote: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=22083On Thursday, 17 October 2024 at 19:17:19 UTC, Sergey wrote: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?On Thursday, 17 October 2024 at 17:23:43 UTC, Lover wrote:My advice: none of the following grpc D library are of production quality: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?
Oct 18