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."
No kidding:
It's mostly a matter of knowing C, then knowing how to torture GHC into doing what the C would do.