4 ms·
Sure but that's not going to work across platforms, right? So not really an apples to apples comparison.
by derriz 2y ago
Sure but that's not going to work across platforms, right? So not really an apples to apples comparison.
- thrwaway1985882 2y agoEven the most ardent of Go-haters have to be fair and admit it makes cross-compilation really nice. GOOS=linux GOARCH=amd64 go build && scp executable user@host:direc/tory/ Out of the box, no toolchains to manage.
- theshrike79 2y agoThis is pretty much what I do. I have a Taskfile for local compilation and running (macOS) and when I need to release I can just say `task publish` and it'll cross-compile a Linux binary and copy it to my server.
- bb88 2y agoSure, it's nice in that regard. But honestly running poetry install for python is not bad either.
- theshrike79 2y agoExcept in 3 years when poetry is bad for some reason and now there's a new better(?) tool again :D
- theshrike79 2y agoLike the sibling comment said, cross-compiling is literally setting two environment variables.