4 ms·
I haven't used Go or Rust but when I compare them I have a gut feeling that I'd be better off with Rust primarily because Go's build tools are not adequate. Wha
by edem 9y ago
I haven't used Go or Rust but when I compare them I have a gut feeling that I'd be better off with Rust primarily because Go's build tools are not adequate. What do you think about this?
- msl09 9y agoI haven't used Rust yet but I can tell you that the go tools are very robust. It's a very good language if you stay within it's optimal scope and do everything by the book, go tends to punish quite hard developers that try to be "create" with project layouts and best code practices and so on.
- jimsmart 9y agoWell, your question is simply too open-ended: nobody can really answer that for you, as you give no indication whatsoever as to your potential use-cases. FWIW: I've been coding in Go for a few years now, for me and (perhaps more importantly) the kind of projects I choose to use it for, the build tools have been more than adequate. As with many things: it ultimately depends on what you're wanting to do, and what your expectations are.
- lilbobbytables 9y agoWhat kinds of projects do you use it for?
- jimsmart 9y agoI've implemented some website backends, a ton of 'micro' services, various command-line tools, and a bunch of data-processing stuff. (The distinction between some of these is somewhat arbitrary) These are the areas I think Go is most suited to, currently — and they've all been a breeze to implement/test/deploy/maintain.
- Thaxll 9y agoWhat do you mean by not adequate? Go tooling is way better than Rust. The only thing that Rust does better in that field is package dependency and it's going to change soon for Go.
- steveklabnik 9y agoWhat parts of Go tooling do you miss in Rust?
- Kubuxu 9y agogo fmt
- steveklabnik 9y agohttps://github.com/rust-lang-nursery/rustfmt https://github.com/rust-lang-nursery/rustfmt It should be distributed along with the rest of the tooling in the coming months!
- alexnewman 9y agoWhat’s wrong with cargo fmt
- dullgiulio 9y agoIt has options ;)
- Thaxll 9y ago- Fast / cross compile - Benchmark / profiling are much better ( https://blog.golang.org/profiling-go-programs https://blog.golang.org/profiling-go-programs ) - go fmt / go vet - go doc All of that that is supported by default by the Go team on all platforms, meaning it works well and I don't have to worry of using a 3rd party Cargo package.
- alexnewman 9y agoGo doc and go fmt have rust equivalents. What’s better at profiling?
- Thaxll 9y ago