
Hi Simon,
Yes I am using -fnew-codegen. Using a large set of random input data
I get the expected results (comparing to both, a different version in
Haskell, and one in C).
I'll be monitoring output and will report problems.
However not relying on it, except to show that high performance is
possible. All code I am using for ``production purposes'' uses GHC 7.4
due to library dependencies.
Thanks for the note!
Christian
* Simon Marlow
On 06/09/2012 21:10, Christian Hoener zu Siederdissen wrote:
Hi Ian,
thanks for the info about 7.8. Just to be clear, the new codegen apparently saved my runtimes for the presentation on tuesday. \My\ new code was slower than my old code. The new code generator fixed that, giving me equal running times with much cooler features. I currently assume (without having checked at all) due to dead variable elimination.
So if it is getting better, I'd be really really happy.
Just to be clear - you're using -fnew-codegen, with GHC 7.6.1?
There were a handful of bugfixes to the new codegen path that didn't make it into 7.6.1, so I wouldn't rely on it.
Cheers, Simon
Gruss, Christian
* Ian Lynagh
[06.09.2012 22:00]: On Thu, Sep 06, 2012 at 06:32:38PM +0200, Christian Hoener zu Siederdissen wrote:
Awesome,
I have been playing with GHC 7.6.0 until today and been very happy. Btw. isn't this the version that officially includes "-fnew-codegen" / HOOPL?
Because the new codegen is optimizing the my ADPfusion library nicely. I lost 50% speed with new features, gained 100% with new codegen, meaning new features come for free ;-)
I suspect that you'll find that the new codegen doesn't work 100% perfectly in 7.6, although I don't know the details - perhaps it just isn't as fast as it could be. It'll be the default in 7.8, though.
Thanks Ian
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users