Comment on It's me again. My Kubernetes devolver has reached the astral plane.
dimeslime@lemmy.ca 17 hours agoCurious what you would use instead? I can only think of one wrong answer and that’s Jsonnet.
Comment on It's me again. My Kubernetes devolver has reached the astral plane.
dimeslime@lemmy.ca 17 hours agoCurious what you would use instead? I can only think of one wrong answer and that’s Jsonnet.
androidul@lemmy.world 16 hours ago
Would’ve written a Golang program and spit-out a binary for everyone to execute on any machine
possiblylinux127@lemmy.zip 10 hours ago
You sweet summer child…
moonpiedumplings@programming.dev 13 hours ago
You can create static binaries that bundle the python interpreter and dependencies.
You can do it with C. Or Csharp. Or many other programming languages. It’s not a feature unique to Go, it’s just that Go can only create static binaries.
androidul@lemmy.world 12 hours ago
not only, you can go ahead and run a Go program as is, without compiling as well 😆
TIL about the one file, 10x for sharing, can you guarantee that runs everywhere?
moonpiedumplings@programming.dev 11 hours ago
go runworks by compiling the program to a temporary executable and then executing that.It seems to depend on glibc versions, if that’s what you are asking. You can force it to be more static by using a static musl python or via other tools. Of course, a binary for Linux only runs on Linux and the same for Windows and Mac. But yeah.
Also it should be noted that go binaries that use C library dependencies are not truly standalone, often depending on glibc in similar ways. Of course, same as pyinstaller, you can use musl to make it more static.