News for hackers. Stuff that matters.
Re:What I Wish I Knew When Learning Haskell 2.0 by username223 on Wednesday April 23, 2014 @10:24PM (#7638186)
> Of course you can tweak things to be fast in hakell, but to be able to actually program haskell in such a way to, beat other languages in performance, is not a trivial skill.

No kidding:

    http://benchmarksgame.alioth.debian.org/u64/program.php?test=regexdna&lang=ghc&id=2
It's mostly a matter of knowing C, then knowing how to torture GHC into doing what the C would do.
Re:What I Wish I Knew When Learning Haskell 2.0 by copergi on Wednesday April 23, 2014 @11:24PM (#7638336)
Linking to the benchmark game as if it means something should be a bannable offense. When you look at something that encourages speed at all costs, that is what you will see. People do low level optimizations like that to gain 0.5% better performance. That does not mean you need to do anything like that to get good performance.
Re:What I Wish I Knew When Learning Haskell 2.0 by igouy on Thursday April 24, 2014 @01:22PM (#7641603)
> That does not mean you need to do anything like that to get good performance.

Please contribute your Haskell regex-dna program that does not do anything like that and get's "good" performance.

Here's the task description: http://benchmarksgame.alioth.debian.org/u64/performance.php?...

Here's "How to contribute programs": http://benchmarksgame.alioth.debian.org/play.php#contribute

GHC 7.8.2 installed, cabal 1.2 stuff available as-needed.

Re:What I Wish I Knew When Learning Haskell 2.0 by copergi on Thursday April 24, 2014 @02:12PM (#7641877)
>Please contribute your Haskell regex-dna program

No. I stopped bothering with that cluster fuck like a decade ago. It is a complete waste of time.

Re:What I Wish I Knew When Learning Haskell 2.0 by igouy on Thursday April 24, 2014 @02:43PM (#7642085)
We can stop bothering about your -- "That does not mean you need to do anything like that to get good performance."
Re:What I Wish I Knew When Learning Haskell 2.0 by copergi on Thursday April 24, 2014 @06:42PM (#7643574)
You can do whatever you want. But drawing nonsense conclusions won't suddenly become reasonable just because you are defensive about the shootout.
Re:What I Wish I Knew When Learning Haskell 2.0 by igouy on Friday April 25, 2014 @11:51AM (#7647222)
My conclusion is that you've made a claim and done nothing to support that claim.