News for hackers. Stuff that matters.
Re:Half a decade with Go by tel on Monday November 10, 2014 @06:00PM (#8587196)
I'll try to represent Haskell here.

1. Totally, definitely. The new Haskell IO manager in GHC 7.8 completely blows this out of the water. It's wonderful.

2. You fork or async IO procedures which can be considered immutable values in their own right and passed around without the slightest concern. There is a small difficulty in that Haskell's laziness makes it a small trick to ensure that work gets done in the right place, which is undoubtedly a mark against Haskell, though perhaps not a huge one.

3. Things like STM, MVars, and (now) LVish let this happen in all kinds of ways. The only problem might be picking the right option due to the wealth of choices. Fortunately, the right answer is almost always STM.

I'd be more than happy to translate a task to demonstrate these things.

Re:Half a decade with Go by asdf1234 on Monday November 10, 2014 @06:49PM (#8587416)
> The new Haskell IO manager in GHC 7.8 completely blows this out of the water.

Go will still outperform Haskell by a huge margin and the typical Go process will have a much smaller memory footprint.

I don't even like Go, but nobody choosing Go is realistically considering Haskell as an alternative.

Re:Half a decade with Go by samth on Monday November 10, 2014 @07:28PM (#8587557)
I encourage you to look a the benchmarks published here: http://haskell.cs.yale.edu/wp-content/uploads/2013/08/hask03... which includes Haskell beating nginx and Haskell beating SDN controllers written in C++ and in Java.
Re:Half a decade with Go by tel on Monday November 10, 2014 @07:10PM (#8587491)
I'm not so sure that is true. I'd love to see some benchmarking, though.
Re:Half a decade with Go by platz on Monday November 10, 2014 @07:09PM (#8587488)
I don't like go either, but I won't believe that a ghc webserver is a fast as a go webserver until we can see it in the techempower benchmarks.
Re:Half a decade with Go by coolsunglasses on Monday November 10, 2014 @07:24PM (#8587539)
The Techempower benchmarks are using the old version of GHC, 7.6, and the Golang devs have been tuning Go's core libraries to win at this specific benchmark.
Re:Half a decade with Go by jlouis on Monday November 10, 2014 @08:51PM (#8587821)
Even then, it is only a factor of 2 slower. That is next to nothing.
Re:Half a decade with Go by coolsunglasses on Monday November 10, 2014 @09:03PM (#8587864)
Right, precisely, and this is at a very silly tier of microbenchmarking where you're doing little to no actual work, something you virtually won't ever find in the "real world".
Re:Half a decade with Go by fjh on Tuesday November 11, 2014 @06:17AM (#8589299)
> The Techempower benchmarks are using the old version of GHC, 7.6

7.4, last time I checked.