News for hackers. Stuff that matters.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by mxavier on Thursday March 03, 2011 @03:53PM (#2285720)
I'm confused. Their site says GHC 7.01 was released in November 2010. This release is 7.02.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by batterseapower on Thursday March 03, 2011 @04:08PM (#2285788)
Yes, the title is confusing. GHC 7.02 is significant because it will be included in the next Haskell Platform release -- GHC 7.01 was only available separately, and was not much installed.

GHC 7.01 was also a time of upheaval in the code base, with an almost total rewrite of the type checker. This was a bit buggy at first, but early experience with 7.01 means that it is much more polished in 7.02.

The full changelist from 7.0.1 is modest and available at http://www.haskell.org/ghc/docs/7.0.2/html/users_guide/relea...

Re:GHC 7 is released. with LLVM, improved inliner, improved ... by dons on Thursday March 03, 2011 @04:06PM (#2285780)
7.0.1 was the release candidate for 7.0.2 (stable).
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by koenigdavidmj on Thursday March 03, 2011 @11:56PM (#2287054)
Sounds like they learned their release numbering skills from the KDE folks.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by rtaycher on Friday March 04, 2011 @04:12AM (#2287533)
I'm not sure if they do it but many projects use odd=unstable,even=stable version schemes including GNOME.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by JoachimSchipper on Friday March 04, 2011 @04:48AM (#2287577)
Yes, but that's usually in the second digit (e.g. 2.4 is stable, 2.5 is development) - switching from unstable to stable in a nominal patch release (third digit) is at least uncommon.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by oconnor0 on Thursday March 03, 2011 @03:20PM (#2285589)
I didn't see, in the release notes (http://www.haskell.org/ghc/docs/7.0.2/html/users_guide/relea...), any mentions of improved inlining or thread scheduling. Do you have a link to that?
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by chalst on Thursday March 03, 2011 @04:04PM (#2285769)
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by oconnore on Thursday March 03, 2011 @03:40PM (#2285668)
Why is GHC doing thread scheduling?
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by dons on Thursday March 03, 2011 @04:07PM (#2285786)
GHC provides a parallel programming model,

* K sparks scheduled over * M lightweight threads scheduled onto * N OS threads over * C hardware cores.

The runtime manages this, and does load balancing.

Re:GHC 7 is released. with LLVM, improved inliner, improved ... by bretthoerner on Thursday March 03, 2011 @04:01PM (#2285756)
(Disclaimer: I've never programmed Haskell or used GHC outside of Xmonad)

I'm pretty sure they use a M:N language-thread to OS-thread system. So they need to decide what thread to put "on" an OS-thread at any given time.

Re:GHC 7 is released. with LLVM, improved inliner, improved ... by fp on Thursday March 03, 2011 @04:00PM (#2285750)
Haskell (GHC at least) has lightweight user-level threads, similar to Erlang.
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by motxilo on Friday March 04, 2011 @05:42AM (#2287632)
How does this LLVM integration work? Is just a Haskell->LLVM compiler?
Re:GHC 7 is released. with LLVM, improved inliner, improved ... by aufreak3 on Thursday March 03, 2011 @08:47PM (#2286596)
awaiting the haskell platform release to get the next GHC ..