4 ms·
> Each plugin is still a static binary that is self contained, but you can load capabilities into the server in runtime. In my Go code, I've just used subproce
by wtbob 10y ago
> Each plugin is still a static binary that is self contained, but you can load capabilities into the server in runtime.
In my Go code, I've just used subprocesses for that. Stdin & stdout, plus a simple serialisation format, and I'm done.
Not suitable for high performance stuff, of course, but good enough for my needs.
- dvirsky 10y agoyeah, it could work for sure if latency is not an issue. It's also possible to do a go->C->go bridge to load Go plugins dynamically.