News for hackers. Stuff that matters.
Re:Rust by Example by wyager on Saturday April 26, 2014 @04:26PM (#7652649)
Having spent a fair amount of time with both, I have to say that I would suggest Rust. Go is not a well-designed language. The type system is mediocre, generic support is bad (you have to use interface{}, which is like casting to Object in Java or passing structs/objects around as void*s in C/C++), the language relies heavily on non-extensible built-in constructs like range and make(), etc. I use Go a lot, and I like it for building web services, but I really don't see the advantage for anything else.

Rust, on the other hand, takes a lot of cues from Haskell/ML and is actually a very well designed language with lots of cool features like a hindley-milner based type system with strong generic support, pattern matching, strong support for immutable and functional programming styles, etc.

Re:Rust by Example by icedog on Sunday April 27, 2014 @03:05AM (#7654233)
Web services aren't the only things that run on servers. And nobody is forcing you to use just one tool for all your jobs.
Re:Rust by Example by wyager on Sunday April 27, 2014 @12:50PM (#7655782)
>Web services aren't the only things that run on servers.

Of course not, but web services are the only thing that I think Go is much good for.

>And nobody is forcing you to use just one tool for all your jobs.

Does that mean I'm not allowed to talk about which tools I think are good for what?