Closed skunkiferous closed 6 years ago
I don't see why you couldn't. It just takes a lot of effort to create a gRPC library. I haven't looked too much into what would be required but when you look at the gRPC repo, there's a lot of stuff there. In terms of what would be needed for the serialization, maybe the json support should be finalized. Not all of the conformance suite is passing yet.If you want a very simple RPC, I've implemented twirp on top of nimpb: https://github.com/oswjk/nimtwirp27.5.2018 3.20 ip. Sebastien Diot notifications@github.com kirjoitti:Is it currently possible, and/or what would be required, to use your Nim implementation of protobuf with gRPC?
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
"It just takes a lot of effort to create a gRPC library." So, I assume it means I cannot simply reuse there C++ gRPC library; one would need a Nim version of that too. Since I was looking for a RPC system with a "security review", as it will be used with "untrusted clients", I'll have to look for alternatives. I guess I could just have C++ classes generated for the schema, and try to run nimgen on them (not sure if nimgen handles C++, or only C). Thanks for the reply.
broken link above; it should be: https://github.com/oswjk/nimtwirp
/cc @skunkiferous @oswjk I wanted to mention this, which was just released for D, maybe it could be of help:
Is it currently possible, and/or what would be required, to use your Nim implementation of protobuf with gRPC?