treeform / genny

Generate a shared library and bindings for many languages.
MIT License
224 stars 9 forks source link

Add protobuf support #40

Open hugosenari opened 2 years ago

hugosenari commented 2 years ago

Genny intents are to be best tool to write libs for in process but it could be helpful for inter process

Why? I liked the Genny idea of creating a 'pkgs' for other languages, but in interpreted languages, I hate to compile a package, so maybe we could reuse it with inter process communication with a reasonable speed.

Good: Invites other developers (app, non lib) to use Genny, so they could expose their app interface to other programs like i3 did.

Bad: I should be adding a prof of concept implementation, for this proposal, but I'm too newbie.

Ugly: This issue request for '.proto' file creation only, not the other details like communication and serialization. But it's just for the sake of Genny maintainers sanity. I would happily change title to gRPC or other (MsgPackRPC, etc)