www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - need networking / dlang experts to help with a grpc issue

reply mw <mingwu gmail.com> writes:
Hi,

We have trouble to use D grpc client to talk to Python grpc 
server, and vice versa:

https://github.com/huntlabs/grpc-dlang/issues/15
https://github.com/huntlabs/grpc-dlang/issues/17

right now, D grpc client can only talk to D server.


This issue has been logged for a while, and the package 
maintainers have tried, but unable to fix it.

Just wondering if any networking / dlang experts on this forum 
can take a look, and help fix this grpc issue. (it could be some 
simple communication mismatch in an expert's eyes, hopefully).


Thanks.
May 12 2021
parent reply Witold Baryluk <witold.baryluk gmail.com> writes:
On Thursday, 13 May 2021 at 05:40:18 UTC, mw wrote:
 Hi,

 We have trouble to use D grpc client to talk to Python grpc 
 server, and vice versa:

 https://github.com/huntlabs/grpc-dlang/issues/15
 https://github.com/huntlabs/grpc-dlang/issues/17

 right now, D grpc client can only talk to D server.


 This issue has been logged for a while, and the package 
 maintainers have tried, but unable to fix it.

 Just wondering if any networking / dlang experts on this forum 
 can take a look, and help fix this grpc issue. (it could be 
 some simple communication mismatch in an expert's eyes, 
 hopefully).


 Thanks.
Hi, I do have experience with protobufs and grpc in C++, Go, Python and C. I didn't try anything in D recently related to profbufs, but I will take a look at your issues tomorrow. I wanted to explore grpc in D anyway for some time.
May 13 2021
parent reply mw <mingwu gmail.com> writes:
On Thursday, 13 May 2021 at 15:35:42 UTC, Witold Baryluk wrote:
 Hi, I do have experience with protobufs and grpc in C++, Go, 
 Python and C. I didn't try anything in D recently related to 
 profbufs, but I will take a look at your issues tomorrow. I 
 wanted to explore grpc in D anyway for some time.
That will great! BTW, it's a very simple basic HelloWorld grpc demo example.
May 13 2021
parent reply Sergey <kornburn yandex.ru> writes:
On Thursday, 13 May 2021 at 17:42:50 UTC, mw wrote:
 On Thursday, 13 May 2021 at 15:35:42 UTC, Witold Baryluk wrote:
 Hi, I do have experience with protobufs and grpc in C++, Go, 
 Python and C. I didn't try anything in D recently related to 
 profbufs, but I will take a look at your issues tomorrow. I 
 wanted to explore grpc in D anyway for some time.
That will great! BTW, it's a very simple basic HelloWorld grpc demo example.
Any luck with fixing this bug?
May 16 2022
parent mw <mingwu gmail.com> writes:
On Monday, 16 May 2022 at 12:42:03 UTC, Sergey wrote:
 On Thursday, 13 May 2021 at 17:42:50 UTC, mw wrote:
 On Thursday, 13 May 2021 at 15:35:42 UTC, Witold Baryluk wrote:
 Hi, I do have experience with protobufs and grpc in C++, Go, 
 Python and C. I didn't try anything in D recently related to 
 profbufs, but I will take a look at your issues tomorrow. I 
 wanted to explore grpc in D anyway for some time.
That will great! BTW, it's a very simple basic HelloWorld grpc demo example.
Any luck with fixing this bug?
I think right now Python client can talk to D server; but the other way still does not work. You can give the demo a try: https://github.com/huntlabs/grpc-dlang/tree/master/examples/SimpleDemo Since D's strength is on the server side, I'd say 60% of the bug fixed :-)
May 19 2022