digitalmars.D - gRPC, Better C and D
- Andre Pany (18/18) Jun 22 2018 Hi,
- aberba (5/23) Jun 23 2018 I'm also very interested in a D binding. But I have no C binding
- Andre Pany (8/26) Jul 02 2018 Small update. With the help of evilrat I was able to translate
- aberba (3/12) Jul 02 2018 Very interesting news. gRPC in D is a must. If it'll get used for
- bpr (3/10) Jul 02 2018 That's really interesting! Are you thinking about translating
- Andre Pany (5/16) Jul 03 2018 At the moment, no. Foremost priority is building a wrapper for D
Hi, the core of gRPC is written in C. I asked the developers whether they considered rewriting the core with Better C (https://github.com/grpc/grpc/issues/15786). They answered that they won't rewrite it with Better C but they are open for including D into their ecosystem. They have support for different languages and most of them are PHP, Python, Ruby). As far as I know there is no gRPC wrapper for D at the moment and if I remember correctly on DConf München there was a speaker talking about the need of a D wrapper for gRPC. My idea was to translate the C++ (https://github.com/grpc/grpc/tree/master/src/cpp) coding to D coding but my C++ knowledge is very limited. Is someone interested in adding D to gRPC? Kind regards André
Jun 22 2018
On Friday, 22 June 2018 at 18:10:54 UTC, Andre Pany wrote:Hi, the core of gRPC is written in C. I asked the developers whether they considered rewriting the core with Better C (https://github.com/grpc/grpc/issues/15786). They answered that they won't rewrite it with Better C but they are open for including D into their ecosystem. They have support for different languages and most of them are PHP, Python, Ruby). As far as I know there is no gRPC wrapper for D at the moment and if I remember correctly on DConf München there was a speaker talking about the need of a D wrapper for gRPC. My idea was to translate the C++ (https://github.com/grpc/grpc/tree/master/src/cpp) coding to D coding but my C++ knowledge is very limited. Is someone interested in adding D to gRPC? Kind regards AndréI'm also very interested in a D binding. But I have no C binding skills. Maybe the direlict guys can help. gRPC is the gold standard for rpc in the interprese. I'm surprised we don't have much ctivity around it.
Jun 23 2018
On Friday, 22 June 2018 at 18:10:54 UTC, Andre Pany wrote:Hi, the core of gRPC is written in C. I asked the developers whether they considered rewriting the core with Better C (https://github.com/grpc/grpc/issues/15786). They answered that they won't rewrite it with Better C but they are open for including D into their ecosystem. They have support for different languages and most of them are PHP, Python, Ruby). As far as I know there is no gRPC wrapper for D at the moment and if I remember correctly on DConf München there was a speaker talking about the need of a D wrapper for gRPC. My idea was to translate the C++ (https://github.com/grpc/grpc/tree/master/src/cpp) coding to D coding but my C++ knowledge is very limited. Is someone interested in adding D to gRPC? Kind regards AndréSmall update. With the help of evilrat I was able to translate the C headers to D. https://github.com/andre2007/grpc/tree/feature/d/src/d/source/grpc/c While the source code compiles without errors, everything is completely untested. As next step I will try to rewrite the python grpc code with D: https://github.com/andre2007/grpc/tree/feature/d/src/python/grpcio/grpc/_cython/_cygrpc
Jul 02 2018
On Monday, 2 July 2018 at 10:25:07 UTC, Andre Pany wrote:On Friday, 22 June 2018 at 18:10:54 UTC, Andre Pany wrote:Very interesting news. gRPC in D is a must. If it'll get used for web services and other microseevices.[...]Small update. With the help of evilrat I was able to translate the C headers to D. https://github.com/andre2007/grpc/tree/feature/d/src/d/source/grpc/c While the source code compiles without errors, everything is completely untested. As next step I will try to rewrite the python grpc code with D: https://github.com/andre2007/grpc/tree/feature/d/src/python/grpcio/grpc/_cython/_cygrpc
Jul 02 2018
On Monday, 2 July 2018 at 10:25:07 UTC, Andre Pany wrote:Small update. With the help of evilrat I was able to translate the C headers to D. https://github.com/andre2007/grpc/tree/feature/d/src/d/source/grpc/c While the source code compiles without errors, everything is completely untested. As next step I will try to rewrite the python grpc code with D: https://github.com/andre2007/grpc/tree/feature/d/src/python/grpcio/grpc/_cython/_cygrpcThat's really interesting! Are you thinking about translating some part of gRPC to DasBetterC?
Jul 02 2018
On Monday, 2 July 2018 at 18:06:43 UTC, bpr wrote:On Monday, 2 July 2018 at 10:25:07 UTC, Andre Pany wrote:At the moment, no. Foremost priority is building a wrapper for D to open the gRPC ecosystem for D. Kind regards AndréSmall update. With the help of evilrat I was able to translate the C headers to D. https://github.com/andre2007/grpc/tree/feature/d/src/d/source/grpc/c While the source code compiles without errors, everything is completely untested. As next step I will try to rewrite the python grpc code with D: https://github.com/andre2007/grpc/tree/feature/d/src/python/grpcio/grpc/_cython/_cygrpcThat's really interesting! Are you thinking about translating some part of gRPC to DasBetterC?
Jul 03 2018