Makes me really glad I never programmed in Go myself. It was already such a hassle to get a basic build working. You need to put your go source in the “go path” which is a global env var, but I was building Go as a submodule in a Java repo. And on Android it didn’t work well at all, you’d think Google would integrate their projects better than that. In the end we just executed the programming via command line and used the http api, instead of using it as a library which would have a lot of advantages. I’m wondering if Syncthing Android still works like this, haven’t followed the development. But most likely yes, so its still running with this shitty system. And Google keeps making it harder and harder to make apps that do anything “advanced” like accessing local files.
You don’t need to put your sources in GOPATH since version 1.11. I’ve also yet to find a language that makes building things easier than a quick “go get” or “go build”.
Makes me really glad I never programmed in Go myself. It was already such a hassle to get a basic build working. You need to put your go source in the “go path” which is a global env var, but I was building Go as a submodule in a Java repo. And on Android it didn’t work well at all, you’d think Google would integrate their projects better than that. In the end we just executed the programming via command line and used the http api, instead of using it as a library which would have a lot of advantages. I’m wondering if Syncthing Android still works like this, haven’t followed the development. But most likely yes, so its still running with this shitty system. And Google keeps making it harder and harder to make apps that do anything “advanced” like accessing local files.
You don’t need to put your sources in GOPATH since version 1.11. I’ve also yet to find a language that makes building things easier than a quick “go get” or “go build”.
Rust? Nim?
Good other choices, no doubt. I certainly wouldn’t call any of those a “basic build hassle”.
I guess my standards are pretty low as I’m a python dev lol. I think build topic is way overblown and isn’t that important.
This was like 5 years ago or more, back then it was a real problem.