News for hackers. Stuff that matters.
Re:Go as an alternative to Node.js for very fast servers by Peaker on Wednesday August 14, 2013 @06:42PM (#6214856)
Don't use "runhaskell", it's more of a "script mode".

Use: ghc -threaded -O2 main.hs && ./main

Re:Go as an alternative to Node.js for very fast servers by payload on Wednesday August 14, 2013 @06:53PM (#6214931)
There is no significant difference in this benchmark. Do you measure something different?
Re:Go as an alternative to Node.js for very fast servers by Peaker on Wednesday August 14, 2013 @07:54PM (#6215282)
I didn't measure, no.

I suppose maybe it uses the optimized compiled packages code, and the main code doesn't really do anything, so -O2 doesn't matter.

However, I would still expect "-threaded" to have an effect.

Re:Go as an alternative to Node.js for very fast servers by payload on Thursday August 15, 2013 @05:02AM (#6216804)
Yes, a negative one for this benchmark :)