1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
5 <title>The GHC Commentary - Other Sources of Wisdom</title>
8 <body BGCOLOR="FFFFFF">
9 <h1>Other Sources of Wisdom</h1>
11 Believe it or not, but there are other people besides you who are
12 masochistic enough to study the innards of the beast. Some of the have
13 been kind (or cruel?) enough to share their insights with us. Here is a
14 probably incomplete list:
19 href="http://www.cee.hw.ac.uk/~dsg/gph/docs/StgSurvival.ps.gz">STG
20 Survival Sheet</a> has -- according to its header -- been written by
21 `a poor wee soul',<sup><a href="#footnote1">1</a></sup> which
22 probably has been pushed into the torments of madness by the very
23 act of contemplating the inner workings of the STG runtime system.
24 This document discusses GHC's runtime system with a focus on
25 support for parallel processing (aka GUM).
27 <li>Instructions on <a
28 href="http://www-users.cs.york.ac.uk/~olaf/PUBLICATIONS/extendGHC.html">Adding
29 an Optimisation Pass to the Glasgow Haskell Compiler</a>
30 have been compiled by <a
31 href="http://www-users.cs.york.ac.uk/~olaf/">Olaf Chitil</a>.
32 Unfortunately, this document is already a little aged.
34 <li><a href="http://www.cs.pdx.edu/~apt/">Andrew Tolmach</a> has defined
35 <a href="http://www.haskell.org/ghc/docs/papers/core.ps.gz">an external
37 GHC's <em>Core</em> language</a> and also implemented a GHC pass
38 that emits the intermediate form into <code>.hcr</code> files. The
39 option <code>-fext-core</code> triggers GHC to emit Core code after
40 optimisation; in addition, <code>-fno-code</code> is often used to
41 stop compilation after Core has been emitted.
43 <!-- Add references to other background texts listed on the GHC docu
50 <sup><a name="footnote1">1</a></sup>Usually reliable sources have it that
51 the poor soul in question is no one less than GUM hardcore hacker <a
52 href="http://www.cee.hw.ac.uk/~hwloidl/">Hans-Wolfgang Loidl</a>.
56 Last modified: Tue Nov 13 10:56:57 EST 2001