Re:An example of fast numerical computation using Haskell
by vinkelhake on Saturday November 30, 2013 @02:21PM
(#6824202)
Are there downsides to using the stream-fusion package? If not, why hasn't it been made the default so that the first naive version is fast?
[ Parent
| on HN ]
Re:An example of fast numerical computation using Haskell
by mietek on Saturday November 30, 2013 @06:23PM
(#6825144)
As I understand, stream fusion is still subject of active research. A paper showing generalised stream fusion in Haskell was submitted to this year's ICFP.
There is also no benevolent dictator in charge of Haskell.
http://research.microsoft.com/en-us/um/people/simonpj/papers...
http://www.reddit.com/r/haskell/comments/1br0ls/haskell_beat...
Re:An example of fast numerical computation using Haskell
by carterschonwald on Saturday November 30, 2013 @06:47PM
(#6825255)
indeed. The generalized stream fusion work is about lifting pointwise operations to their SIMD vectorized analogue.
Likewise, stream fusion isn't always a win! Stream fusion and its siblings are great for pointwise operations, but aren't always a good idea for computations with heavy reuse, like nested convolutions or performant matrix multipy