logoalt Hacker News

verdverm • yesterday at 7:12 PM • 3 replies • view on HN

Go doesn't have a good mod/plugin story for harness devs to provide to their users

I say this as a gopher who also has a custom harness written in Go, it's a real challenge compared to the TS setups, but TS plugins are also a security concern


Replies

gandreani • yesterday at 8:25 PM

I agree! Comes with the territory of a compiled language I suppose?

I haven't given this much thought (I also just started with golang last year) but I'm assuming the only real path here is to provide extension SDKs in Lua or other languages whose interpreters have been implemented in go.

I think that's what grafana's k6 [1] does with a JS interpreter

[1] https://github.com/grafana/k6

➕ show 1 reply
otterley • yesterday at 10:20 PM

Why isn’t IPC good enough?

➕ show 1 reply
ChaseRensberger • yesterday at 8:55 PM

curious your thoughts on my approach: https://docs.wingman.actor/extend/plugin-quickstart/

➕ show 1 reply