News for hackers. Stuff that matters.
Re:Why I Like Go by cincinnatus on Saturday February 09, 2013 @11:43PM (#5195443)
Sounds like a list of C# benefits. In 2004.
Re:Why I Like Go by jkat on Saturday February 09, 2013 @11:59PM (#5195480)
Except for the goroutine and channel, and the type system, and the package system.
Re:Why I Like Go by danieldk on Sunday February 10, 2013 @07:45AM (#5196246)
Well, 'package' system is a big word. It does not have versioning, checksums, or signatures. An import of a package may bring in (1) a version that is API-incompatible; (2) a version that is API compatible but has new bugs; and (3) a version that has been trojaned/backdoored/whatever.

The only solutions is doing your own package management in $GOPATH, tracking a bunch of Git/Mercurial repositories and finding out by hand which commits are sane and which are not.

It's a disaster in the making, really.

Re:Why I Like Go by pjmlp on Sunday February 10, 2013 @02:10AM (#5195703)
Ah you mean Task Parallel Library and NuGet?
Re:Why I Like Go by jkat on Sunday February 10, 2013 @03:08AM (#5195789)
I didn't realize NuGet let you do remote path import. Nor that it was around in 2004. Nor that it's part of the C# language spec.

Goroutine + Channels are vastly different than the TPL. The comparison is so far off that I can't even come up with a clever analogy. There's more to concurrency than threads, and more to communication than locks.

Re:Why I Like Go by pjmlp on Sunday February 10, 2013 @03:52AM (#5195851)
> I didn't realize NuGet let you do remote path import. Nor that it was around in 2004. Nor that it's part of the C# language spec.

Fare enough if you want to limit yourself to 2004 and compiler specific support.

> Goroutine + Channels are vastly different than the TPL

If you take out your Go coloured glasses and read in what TPL does, you will see that what Goroutines and channels are indeed available as Tasks and Queues.

Re:Why I Like Go by balakk on Sunday February 10, 2013 @04:40AM (#5195928)
I don't know enough about Go, but Goroutines and Channels sound quite similar to F# agents and mailboxprocessor concepts, which as I understand is not quite the same as TPL. The former tackles concurrency, while the latter is about parallelism. C# 5 is getting there with async/await concepts I guess.

Here's a dining philosophers implementation in F# and Go (among other languages)

http://rosettacode.org/wiki/Dining_philosophers

Re:Why I Like Go by shurcooL on Saturday February 09, 2013 @11:46PM (#5195448)
C# doesn't build native binaries on all platforms out of the box.
Re:Why I Like Go by pjmlp on Sunday February 10, 2013 @02:17AM (#5195716)
Like any other language.

Don't mix a language with the available implementations.

You can get native binaries with ngen or mono -aot.

The dependency on CLR is no different than relying on libc being available when using dynamic linking.

Re:Why I Like Go by damian2000 on Sunday February 10, 2013 @02:31AM (#5195742)
Its what was left out of Go that makes it great ... e.g. most or all of the Go benefits could probably be recreated in C++ using libraries, but that doesn't make C++ equivalent or as nice as Go for developing in.
Re:Why I Like Go by damian2000 on Sunday February 10, 2013 @01:23AM (#5195623)
C# has a dependency on the CLR, i.e. either the .NET framework or Mono has to be installed.
Re:Why I Like Go by pjmlp on Sunday February 10, 2013 @02:11AM (#5195707)
Implementation != Language
Re:Why I Like Go by NateDad on Sunday February 10, 2013 @09:59AM (#5196538)
You can't use the language without the implementation. They're bound together. Unless you're suggesting someone's going to write a C# compiler that creates native binaries?
Re:Why I Like Go by pjmlp on Sunday February 10, 2013 @10:33AM (#5196631)
ngen, mono -aot, bartok, IL2CPU ?