3 ms·
Awesome. Now I just need a way to define a cross-language contract and this would be very helpful for my uses. Ignoring performance for a second, one wonders i
by kodablah 4y ago
Awesome. Now I just need a way to define a cross-language contract and this would be very helpful for my uses.
Ignoring performance for a second, one wonders if you could take proto and use that as the data in/out _and_ the API/RPC definition. Like many others, I've been wanting to add plugin support to my software, but I want a well-defined contract usable from others w/ complex types and known RPC calls. I think code-gen from proto for all supported client/host languages could get you there (at a perf cost compared to flat buffers or capn proto).
- nilslice 4y agoYes, protobuf can absolutely be used here. You just want to make sure that the plug-in language supports it.