Remix.run Logo
▲ verdverm 4 hours ago

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

▲gandreani 3 hours ago | parent | next [-]

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

▲otterley an hour ago | parent | prev | next [-]

Why isn’t IPC good enough?

▲verdverm a minute ago | parent [-]

My custom harness has a dagger based environment, binary runs in the host, every tool call and file modification creates a new layer in a container - for better session time travel and forking

It may work for some things, but you really want to be wired into that system to do the more interesting things.

▲ChaseRensberger 2 hours ago | parent | prev [-]

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

▲verdverm 3 minutes ago | parent [-]

fails at step two, precompiled binary is already built, you can't change the code

why not just use an SDK where you are using a plugin?