From a0cc55a86d11c982a9901c86afc714f32e76c8fb Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 23 Aug 2001 14:44:43 +0000 Subject: [PATCH] [project @ 2001-08-23 14:44:43 by simonmar] Release notes updated with library changes since 5.00.2. --- ghc/docs/users_guide/5-02-notes.sgml | 135 +++++++++++++++++++++++++++++++++- 1 file changed, 131 insertions(+), 4 deletions(-) diff --git a/ghc/docs/users_guide/5-02-notes.sgml b/ghc/docs/users_guide/5-02-notes.sgml index 144f79f..2d1d7d7 100644 --- a/ghc/docs/users_guide/5-02-notes.sgml +++ b/ghc/docs/users_guide/5-02-notes.sgml @@ -3,10 +3,57 @@ User-visible compiler changes + + + + Several small changes to bring GHC into line with the + newest Haskell 98 report. + + + + RTS options can now be specified using the environment + variable GHCRTS. + + + + The maximum heap size, set with + +RTS -Msize, + now defaults to unlimited. We recommend however that you set + a maximum heap size appropriate for your machine using the + GHCRTS variable. + + + + Thanks to the heroic efforts of Ken Shan + ken@digitas.harvard.edu, GHC now works again on + the Alpha architecture (just Tru64 at the moment), and many + (all?) of the 64-bit bugs have been shaken out. + + + + New option: which causes GHC + to omit code generation and all future compilation stages (see + ). + + New experimental features + + + + + + A compacting garbage collector has been added. It isn't + on by default, because it is somewhat slower than the existing + copying collector, but can be automatically enabled when + memory gets tight by setting the maximum heap size (see ). Compaction works together with + the existing generational scheme: it is only used on the + oldest generation. + + @@ -29,15 +76,95 @@ See . - - + + BlockedOnDeadMVar and + ThreadKilled exceptions no longer generate + any output by default for forked threads. + - - Build system changes + + Weak.addForeignFinalizer is + deprecated; use the ForeignPtr library + instead. + + + + The I/O library has been completely rewritten, using the + new FFI libraries and hsc2hs. The main + improvement is to the way streams are handled: simultaneous + read and write with multiple threads using a socket or FIFO is + now possible, whereas before it was necessary to use two + separate handles. + + + + As a result of the I/O rewrite, the extensions + IOExts.hConnectTo and + IOExts.withHandleFor have been removed. + Also, hGetBuf and + hPutBuf have been removed, and + hGetBufFull and + hPutBufFull have been renamed to + hGetBuf and hPutBuf + respectively (similary for the BA + versions of these functions). + + + + System.exitWith now throws + ExitException rather than causing the + program to exit immediately. ExitException + is by default caught by the top level exception handler in the + main thread, where it causes the program to exit. Hence, calling + System.exitWith in GHCi no longer causes + GHCi itself to exit. + + + + New function: MVar.addMVarFinalizer + (see ). + + + + New module SystemExts for useful + system-ish functionality (see ). + + + + SocketPrim: added instances of + Eq and Show for the + Socket type. + + + + The implementation of + MarsalAlloc.allocaBytes now uses GHC's + internal allocator and is much faster than before. As a + result, the UnsafeCString type and + functions are no longer necessary and have been removed from + CString. + + Internal changes + + + The implementation of the Array, + IArray and MArray + libraries have been rewritten so that bulk operations like + listArray and elems do + less range checking and hence go faster. + + + + The CPUTime library has been replaced + by one written using the FFI. No externally visible + changes. + + -- 1.7.10.4