News for hackers. Stuff that matters.
Re:Traefik, Now With Native Go Plugins by jdoliner on Wednesday September 23, 2020 @02:34PM (#24570334)
I really wish Go plugins got some more love from the go team. It looks like this is using Yaegi a Go interpreter, which is probably the only reasonable choice. Go's plugin package requires that the plugin be compiled with exactly the same compiler version as the main binary. So you need to recompile every plugin for every new release, at least if you upgrade the compiler between releases which you often do. It also doesn't work on windows.
Re:Traefik, Now With Native Go Plugins by emilevauge on Wednesday September 23, 2020 @03:08PM (#24570712)
Indeed, go plugins were our initial choice (https://github.com/traefik/traefik/pull/1865). But you said everything about how bad/impossible the workflow would have been for users. Building from scratch a go interpreter was not the easiest way, but this was the best solution regarding the UX.
Re:Traefik, Now With Native Go Plugins by slx26 on Wednesday September 23, 2020 @05:07PM (#24572038)
There was a public doc talking about the golang linker that addressed this issue at the end. My comment at the time and the post can be found here [0]. I guess there's some hope, but I haven't looked into it again, so I don't know whether anything is moving forward or not.

[0] https://news.ycombinator.com/item?id=20957741