Changes between Version 43 and Version 44 of ReplacingGMPNotes


Ignore:
Timestamp:
Jan 5, 2007 7:21:28 PM (9 years ago)
Author:
p_tanski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReplacingGMPNotes

    v43 v44  
    88 1. [wiki:ReplacingGMPNotes#Introduction Introduction]
    99 1. [wiki:ReplacingGMPNotes#ReasonsforReplacingGMPastheBignumlibrary Reasons for Replacing GMP as the Bignum library]
    10  1. [wiki:ReplacingGMPNotes#OverviewoftheCurrentGMPImplementation Overview of the Current GMP Implementation]
    11    * [wiki:ReplacingGMPNotes#FilesrelatedtoGMPintheGHCCompilerSourceCode Files related to GMP in the GHC Compiler Source Code]
    12    * [wiki:ReplacingGMPNotes#OptimisationOpportunities Optimisation Opportunities]
     10 1. [wiki:ReplacingGMPNotes#FilesrelatedtoGMPintheGHCCompilerSourceCode Files related to GMP in the GHC Compiler Source Code]
     11 1. [wiki:ReplacingGMPNotes#OptimisationOpportunities Optimisation Opportunities]
    1312
    1413Other pages:
     14 * [wiki:ReplacingGMPNotes/TheCurrentGMPImplementation The Current GMP Implementation][[BR]]A detailed description of the current interface and interaction between GHC's [wiki:Commentary/Rts Runtime System (RTS)] and GMP.
    1515 * [wiki:ReplacingGMPNotes/PerformanceMeasurements Performance Measurements of other Multi-Precision Libraries]
    1616 * [wiki:ReplacingGMPNotes/MiscGMPDiscussion Miscellaneous GMP Discussion]
     
    8080        * representing a Haskell constructor (the Int#) inside a pointer--a bit-size constructor--would limit the number of constructors you would be able to have (depending on the size of a pointer object, say the C99 uintptr_t, on a particular machine).
    8181
    82 === Overview of the Current GMP Implementation ===
    83 
    84 Esa Ilari Vuokko, who at one time attempted to replace GMP with [http://math.libtomcrypt.com/ LibTomMath], posted several messages with good notes on the current implementation.  Much of what is on this page is derived from those notes.  See, [http://www.haskell.org/pipermail/glasgow-haskell-users/2006-August/010669.html Replacement for GMP(3)] and [http://www.haskell.org/pipermail/glasgow-haskell-users/2006-August/010674.html Replacement for GMP(4)].
    85 
    86 ==== Files related to GMP in the GHC Compiler Source Code ====
     82=== Files related to GMP in the GHC Compiler Source Code ===
    8783
    8884Note: references are relative to the main directory of the source distribution; links below are to the darcs repository at [http://darcs.haskell.org/ghc http://darcs.haskell.org/ghc], created with the {{{[[GhcFile(path/to/file)]]}}} script (see [wiki:Commentary]).
     
    108104 * [[GhcFile(rts/gmp/)]] (directory) (''Modify'': recommended to remove entirely, i.e., do not add conditional compilation for users who want to keep on using GMP)
    109105
    110 ==== Optimisation Opportunities ====
     106=== Optimisation Opportunities ===
    111107
    112108(1) The "shockingly inefficient" operation of this code: