Not sure if you want build interprocess communication utility all by yourself, I'm currently using https://code.dlang.org/packages/apache-thrift and there is also https://code.dlang.org/packages/symmetry_thrift_d BTW grpc is not quiet working https://code.dlang.org/packages/grpc