News for hackers. Stuff that matters.
Re:Rust programs versus Go by giancarlostoro on Wednesday May 16, 2018 @07:09AM (#17081452)
I used to like Go a bit, but never did a full blown application in it, just did enough to get a feel of it. Having tried Rust recently (after not liking the idea of not having classes like in Go) I have to say I prefer Rust for several reasons.

For starters the tooling for Rust is well done. If I want to install Rust on any machine I'm on I just go to https://rustup.rs/ and go from there, then I can use rustup to update my tooling or add features to the compiled.

The other thing is the wealth of packages[0] that expand upon Cargo (Rusts build system and package manager) namely the cargo-deb package which lets me build my Rust projects directly into a Debian package.

Continuing on about tooling I have to mention that for IDE's / Text Editors: CLion w/ Rust Plugin is fantastic, but if you want something fully free the VS Code plugin is also amazing for Rust. There's a great effort towards building the Rust Language Server, which thanks to Microsoft is a generic spec that once implemented for one language can be used by any editor / IDE that supports langserver[1].

I will say depending on what you want to do with Rust there can be a bit of a learning curve. I'm still just bleeding my way through some parts because I don't know what everything means in Rust just enough to try different things.

I will say Rust is nowhere near where it could be, but it's at a stage where I think it's definitely usable. They definitely took their time to make sure they got things right, and they got plenty right.

[0]: https://crates.io/ [1]: http://langserver.org/

Re:Rust programs versus Go by Thaxll on Wednesday May 16, 2018 @09:46AM (#17082296)
You mention tooling and IDE where Go is better than Rust in that space and as for Cargo just use go dep problem solved.
Re:Rust programs versus Go by senorsmile on Thursday May 17, 2018 @02:01AM (#17089098)
Honestly, the tooling in go seems very poor to me. There are lots of potential solutions, none of which remotely compare to the efficiency and ease of use of cargo. Golang needs a project independent manager, a la carton,bundler, or pipenv (although cargo is the best imho).
Re:Rust programs versus Go by steveklabnik on Wednesday May 16, 2018 @11:25AM (#17083139)
What tooling do you prefer in Go and why? Just curious!