3 ms·
That is one of the reasons I like GO language. Single executable, which makes tooling easier for others to use. My alternative method is using single executable
by yndoendo 2y ago
That is one of the reasons I like GO language. Single executable, which makes tooling easier for others to use. My alternative method is using single executable packaged with NSIS that extracts everything to a temp directory before running.
Sorry, Window Registry is a cornucopia of inconsistency and poor design. Gnome's Registry is well designed, comparatively. Key descriptions, value options with limitations and which is the default is a quality User Interface design. Just look at the Windows group policy to registry mappings, they are all over the place for the same logic layout with double negatives for keys.
- airstrike 2y agoObligatory comment saying you can do the same in Rust
- IshKebab 2y agoIt's not quite as seamless as in Go to be fair. But it does mean you can write Rust instead of Go.
- delusional 2y agoYou can in fact also do it in C
- eptcyka 2y agoI can’t target msvc or aarch-64-apple-* and compile a binary on Linux, without resorting to significant amounts of rectal dentistry.
- iknowstuff 2y agoCan’t you just replace the “cargo” command with “cross” cross build —-target=… https://github.com/cross-rs/cross https://github.com/cross-rs/cross
- demurgos 2y agoCross-building for Apple is possible, but it's far from smooth with many steps that you have to figure out by yourself unfortunately.
- cooljacob204 2y agoI use this which seems to work well for my projects. Particularly their docker image. https://github.com/rust-cross/cargo-zigbuild https://github.com/rust-cross/cargo-zigbuild
- jeroenhd 2y agoI've built .exes for Windows just fine on Linux. I don't know about Apple stuff, though, I don't think there's any built-in Linux tooling to submit an executable for Apple's signature scheme.
- p_ing 2y agoAnd .NET
- djfobbz 2y agoYeah, that's why Go is a solid win - single binary, no installer headaches, just build and run. Rust's powerful but comes with build complexity and dependency juggling. Go keeps it clean, fast, and dead simple to deploy.