good RPC framework for D?

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 5 22:20:53 PDT 2017


On Tuesday, 6 June 2017 at 01:01:34 UTC, Timothee Cour wrote:
> Is there a good RPC framework for D?
>
> requirements:
> * efficient (no json/xml)
> * supports at least sending/receiving raw bytes
>
> I tried msgpack-rpc but it seems abandonned (last commit 2 y 
> ago) and this issue makes it unusable: 
> https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16 for 
> messages of length >= 4090 bytes.
>
> I would love to have a GRPC work with D but couldn't find a 
> package for it.
>
> Is there at least a reliable solution that sends raw bytes ? 
> than I can for eg wrap protobufs or other serialized formats 
> via serialization/deserialization.
>
> Additional requirements: supports streaming data (either input 
> or
> output or both), and timeouts.

I am working right now on wrapping grpc, but it's a bit of work 
and I have lots of other things to do and can't be sure when or 
if I will finish.  The C API is not that bad once you understand 
what if is doing.  And see dprotobuf.




More information about the Digitalmars-d mailing list