News for hackers. Stuff that matters.
Re:Rob Pike on the reasons for Go’s success by gnode on Thursday October 31, 2019 @01:31PM (#21411371)
Not the OP, but I think a good contrast is with Rust. Both languages purportedly emphasise memory safety and concurrency. Rust achieves this within the type system at compile-time; no nil pointers (conditional destructuring is used instead), no garbage collection is required, and concurrency is safe by virtue of compile-time checks. In Golang nil pointers exist and can be dereferenced, you can make a mistake when using concurrency primatives, and clobber shared memory.

On the other hand, Golang is a much simpler language. It's relatively easy to learn and understand.

Re:Rob Pike on the reasons for Go’s success by hu3 on Thursday October 31, 2019 @01:57PM (#21411706)
I wouldn't compare Go to Rust. Their sensible usecases rarely intersect.

They are quite far apart in many spectrums.

Re:Rob Pike on the reasons for Go’s success by gnode on Thursday October 31, 2019 @02:08PM (#21411821)
Some popular Rust projects include actix-web (HTTP serving), diesel (database ORM), Firecracker (micro VMs for serverless). Web APIs and virtualisation / cloud computing are also areas where Go is popular.

They're both statically typed compiled system programming languages; both trying to provide solutions for safe memory and concurrency.

Re:Rob Pike on the reasons for Go’s success by hu3 on Thursday October 31, 2019 @03:49PM (#21412910)
It's common for different languages to have libraries that aim to solve the same problems like ORM and web server. Perl and Lisp have these as well.

But this doesn't necessarily mean that these languages share a great deal of sensible usecases.

Rust and Go make very different tradeoffs.