Re: gRPC, Better C and D
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: 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 That's really interesting! Are you thinking about translating some part of gRPC to DasBetterC? At the moment, no. Foremost priority is building a wrapper for D to open the gRPC ecosystem for D. Kind regards André
Re: gRPC, Better C and D
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/_cygrpc That's really interesting! Are you thinking about translating some part of gRPC to DasBetterC?
Re: gRPC, Better C and D
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: [...] 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 Very interesting news. gRPC in D is a must. If it'll get used for web services and other microseevices.
Re: gRPC, Better C and D
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 wrappers around the C Core functionality (C++, C#, Objective C, 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
Re: gRPC, Better C and D
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 wrappers around the C Core functionality (C++, C#, Objective C, 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.
gRPC, Better C and 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 wrappers around the C Core functionality (C++, C#, Objective C, 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é