Wondering whether it would be a good idea to re-implement AppImage tools in Golang.
Advantages:
- Maintainable, easy code (unlike "modern C++")
- Short compilation times
- Statically linked binaries, no dependencies
- Synergies with snap?
- Fun?
appimaged Go implementation
- Downside: No squashfs feature-complete native Go implementation available. Hence list files using
unsquashfs -ll
, extract usingunsquashfs
? I would prefer a single-file static binary with squashfs generation and extraction capabilities - Resize icons for thumbnails https://siongui.github.io/2017/01/13/go-resize-image-from-web/
appimagetool Go implementation
appimageupdate Go implementation
What else?
It's possible to interface C code from Go but you loose cross-compiling, type-safety and other features. Yet it's doable.