4 ms·
Does anyone have time to explain the downsides of the HashiCorp plugin approach (gRPC to another process) vs. creating an interpreter? https://github.com/hashi
by password4321 6y ago
Does anyone have time to explain the downsides of the HashiCorp plugin approach (gRPC to another process) vs. creating an interpreter?
https://github.com/hashicorp/go-plugin https://github.com/hashicorp/go-plugin
- throwaway894345 6y agoUsing an interpreter locks you into the interpreter's language (e.g., no NodeJS, Python, etc plugins), but you are able to pass around memory and call procedures from the host program directly instead of having to write an IPC shim layer. EDIT: Updated for accuracy
- thegeekpirate 6y agoThey actually created their own interpreter https://github.com/traefik/yaegi https://github.com/traefik/yaegi Here's their original announcement post https://traefik.io/blog/announcing-yaegi-263a1e2d070a https://traefik.io/blog/announcing-yaegi-263a1e2d070a
- throwaway894345 6y agooof, I noticed that they referenced a different interpreter; didn't realize they also created it. My bad.