From b94d8b0b32b5164dc0dfba5c30008982eeb94b5b Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 9 Sep 2010 11:14:50 +0000 Subject: [PATCH] updates to the release notes --- docs/users_guide/6.14.1-notes.xml | 80 ++++++++++++++++++++++++++++++------- 1 file changed, 66 insertions(+), 14 deletions(-) diff --git a/docs/users_guide/6.14.1-notes.xml b/docs/users_guide/6.14.1-notes.xml index 58ae747..027be00 100644 --- a/docs/users_guide/6.14.1-notes.xml +++ b/docs/users_guide/6.14.1-notes.xml @@ -13,10 +13,70 @@ - Due to changes in the runtime system, version 2.0 or later - (preferably version 2.2 or later) of the - parallel library should be used, or - parallelism will be lost. + GHC now defaults to the Haskell 2010 language standard. + + + + Libraries are not quite so straightforward. By default, GHC + provides access to the base package, + which includes the Haskell 2010 libraries, albeit with a few + minor differences. For those who want to write strictly + standards-conforming code we also provide + the haskell2010 package which provides + the precise APIs specified by Haskell 2010, but because the + module names in this package overlap with those in + the base package it is not possible to + use both haskell2010 + and base at the same time (this also + applies to the array package). Hence to use + the Haskell 2010 libraries you should hide + the base and array + packages, for example with GHCi: + +$ ghci -package haskell2010 -hide-package base -hide-package array + + If you are using Cabal it isn't necessary to + hide base and array + explicitly, just don't include them in your build-depends. + + + + + + On POSIX platforms, there is a new I/O manager based on + epoll/kqueue/poll, which allows multithreaded I/O code to + scale to a much larger number (100k+) of threads. + + + + + + The inliner has been overhauled, which should in general + give better performance while reducing unnecessary code-size + explosion. + + + + + + Large parts of the runtime system have been overhauled, in + particular the machinery related to blocking and wakeup of + threads and exception throwing (throwTo). + Several instances of pathological performance have been + fixed, especially where large numbers of threads are + involved. + + + + + + Due to changes in the runtime system, if you are + using Control.Parallel.Strategies from + the parallel package, please upgrade to + at least version 2 (preferably version 3). The + implementation of Strategies + in parallel-1.x will lose parallelism + with GHC 6.14.1. @@ -215,14 +275,6 @@ import SpecConstr - On POSIX platforms, the RTS now has a new I/O manager based - on epoll/kqueue/poll, which allows it to scale to a much - larger number (100k+) of open file descriptors. - - - - - The RTS now exports a function setKeepCAFs which is important when loading Haskell DLLs dynamically, as a DLL may refer to CAFs that hae already been GCed. @@ -386,7 +438,7 @@ import SpecConstr The registerised via-C backend, and the - -fvia-C, have been deprecated. The poor + -fvia-C flag, have been deprecated. The poor floating-point performance in the x86 native code generator has now been fixed, so we don't believe there is still any reason to use the via-C backend. @@ -459,7 +511,7 @@ import SpecConstr - GHCi now understands the layout of multiline-commands, so + GHCi now understands layout in multi-line commands, so this now works: -- 1.7.10.4