News for hackers. Stuff that matters.
Re:The Haskell / Snap ecosystem is as productive (or more) t... by nnethercote on Friday April 27, 2012 @06:14AM (#3898380)
The single sentence that surprised me the most:

"For performance, there is no question that Haskell will win hands down on any performance comparison".

Re:The Haskell / Snap ecosystem is as productive (or more) t... by tikhonj on Friday April 27, 2012 @06:46AM (#3898444)
Why is that surprising?

Haskell is a compiled language with a very clever optimizing compiler, so it tends to be pretty fast by any standard. On top of this, it has recently had some improvements to its IO manager which is particularly important for web servers.

Ruby, on the other hand, is notoriously slow.

Re:The Haskell / Snap ecosystem is as productive (or more) t... by zoul on Friday April 27, 2012 @08:41AM (#3898771)
Performance isn’t measured just by the language tools, it depends on the whole stack. It’s quite probable that the Ruby/Rails stack is better suited to high-performance sites simply because it has more installations and the kinks have been worked out.
Re:The Haskell / Snap ecosystem is as productive (or more) t... by lincolnq on Friday April 27, 2012 @11:58AM (#3899651)
I agree that the priors would suggest that you are correct, however, let me give some evidence to update you:

The Warp web server for Haskell is the fastest Web application server that exists. http://steve.vinoski.net/pdf/IC-Warp_a_Haskell_Web_Server.pd... [pdf, but easy to read] -- in the comparison on page 2, php handled 3400 requests per second, and Warp 81000.

Re:The Haskell / Snap ecosystem is as productive (or more) t... by yxhuvud on Friday April 27, 2012 @02:27PM (#3900419)
Uh. This doesn't make any sense whatsoever.

As to why, here is a hint: The three most common webservers in the world are Apache, nginx and IIS. Yet are any of those even mentioned in that paper? NO.

Re:The Haskell / Snap ecosystem is as productive (or more) t... by lincolnq on Friday April 27, 2012 @02:38PM (#3900503)
Hm, you may be right. The methodology to arrive at these results in the paper is not given at all (as far as I can tell).

However I suspect that the three you listed would not be benchmarked on their own, as they are not application servers, just frontends. It would be more reasonable to benchmark Apache+mod_wsgi or whatever, and it would be nice to see that on the graph.

Re:The Haskell / Snap ecosystem is as productive (or more) t... by getsat on Friday April 27, 2012 @11:51AM (#3899612)
Ruby is as slow as PHP (see: Debian Language Shootout), and Rails is even worse because you're operating at a ridiculous stack depth. MRI and YARV are horrible at doing GC on deep stacks.