|
|
|
|
|
by pjmlp
20 days ago
|
|
From your description you certainly weren't using AOT compilation, and forgetting about CGO. Static linking as the only way in most platforms, we moved into other mechanisms for a reason. In Go the only way to do plugins, without shipping everything as source code is to use microservices, the more fashionable name for multiple process with OS IPC. |
|
I wasn't using AOT, it was not something I needed/wanted, but for a TypeScript compiler it would make more sense. I only tried single file binary compilation, as I didn't want to deploy the runtimes, wanted to have them embedded to the air-gapped systems in a simple copy and runway (no installers, etc).