X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2F5-02-notes.sgml;h=d57784148489fa055c709cb5a2f20b6851ff4551;hb=cd0f89a0bf35c36575ea89d7c7599473a3600683;hp=82ce34e3ff6532bb031c8d0d14e23fe3cbeece5b;hpb=2f896e9ee4118dd4dfebf027e5dce7039a401f18;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/5-02-notes.sgml b/ghc/docs/users_guide/5-02-notes.sgml index 82ce34e..d577841 100644 --- a/ghc/docs/users_guide/5-02-notes.sgml +++ b/ghc/docs/users_guide/5-02-notes.sgml @@ -1,127 +1,21 @@ - - Release notes for version 5.02 + + Release notes for version 5.04 User-visible compiler changes - - - - Majorly improved support for Windows platforms. Binary - builds are now entirely freestanding. There is no longer any - need to install Cygwin or Mingwin to use it. It's a - one-click-install-and-off-you-go story now. - - - - 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 - 64-bit bugs have been shaken out. Interactive mode and the - native code generator do not currently work, sorry. - - - - New option: which causes GHC - to omit code generation and all future compilation stages (see - ). - - - - New option . This makes GHC read - additional package descriptions from - file. - - - - flag reinstated - for heap profiling. - - - - now works - correctly. - - - - - Many bug fixes related to implicit-parameter support. - - - - - Data declarations with no constructors are allowed. - - User-visible interpreter (GHCi) changes - - GHCi now works on Windows. - - - - Partial FFI support in GHCi. At the moment, foreign - import (static and dynamic) are supported on x86 and sparc - platforms. - - - - New interpreter command :add, to add - modules to the current bunch. - - - - New interpreter command :info, to provide - information on values, types and classes, a la Hugs. + - - - Multiple target modules are supported. You may specify - multiple modules for the :add and - :load commands. From the command line, you - may specify multiple modules when starting GHCi and when - compiling in mode. - - - - New flags and - . - - - - When starting GHCi from the command line, you may now - use the flags - and - to - specify libraries to be loaded into the interactive - session. - - @@ -129,124 +23,16 @@ User-visible library changes - The SocketPrim and - BSD modules in the net - package have been re-written to use the FFI, be more portable, - and be more thread-safe. There are minor user-visible - changes: the functions writeSocket, - readSocket and - readSocketAll have been removed (use - socketToHandle and - Handle operations instead). - - - - New function: Exception.throwDynTo. - See . - - - - BlockedOnDeadMVar and - ThreadKilled exceptions no longer generate - any output by default for forked threads. - - - - 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. + New experimental features - - - - - Support for hierarchical module names. - - - - .NET code generator. - - - - Emission of external Core format. - - - Experimental FFI extensions. - - - - 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. + @@ -255,29 +41,8 @@ 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. - - - - The compiler has a new strictness-and-absence analyser, - which is alleged to help it generate better code. - - - - Improved temporary (alloca-style) - memory support in the RTS: pinned objects. - -