News for hackers. Stuff that matters.
Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by partition on Monday November 15, 2010 @07:46PM (#1908581)
I'm curious about the general effectiveness of the latest versions of GHC in optimizing single-threaded code. We know of huge gains with the parallelism libraries, but I'm wondering what the consensus is for code that's more inherently sequential.
Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by dons on Monday November 15, 2010 @07:49PM (#1908589)
Performance improvements via the new inliner and the LLVM backend should improve straight line code.

Quite separately, runtime and library performance for some kinds of parallel programs is better.

Both sequential and parallel code got better, for different reasons.

Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by bigmac on Monday November 15, 2010 @08:05PM (#1908630)
When you say inliner, are you referring to LLVM's inliner or something closer to the front end? I know LLVM's is pretty aggressive as is -- are you able to get benefits from it?
Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by dons on Monday November 15, 2010 @08:08PM (#1908637)
GHC's inliner -- which does lots of algebraic transformations of the Haskell code to make it fast.

That all happens before getting shunted off to LLVM, which in turn does a lot of block-level changes (which particularly affect numeric code).

Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by mainland on Tuesday November 16, 2010 @09:25AM (#1910113)
Are there any references that detail the new inliner?
Re:GHC 7 is out: Haskell 2010 support; LLVM backend; new opt... by jules on Monday November 15, 2010 @08:59PM (#1908754)
Only tangentially related: how do you use the LLVM bindings on Windows?