David Terei davidterei at
Mon Feb 6 19:02:48 CET 2012

On 5 February 2012 10:48, Serge D. Mechveliani <mechvel at> wrote:
> Dear GHC team,
> I cannot understand why do you remove the C stage in GHC.

We didn't.

GHC itself can be built in two different ways, 'unregisterized' and
'registerized'. The former method is more portable while the latter
uses as many tricks as possible for performance but is quite platform

The C backend used to support both ways. Now it only supports
unregisterized. It remains specifically for what you want,
portability. The NCG of GHC only supports registerized way. The LLVM
backend supports both unregisterized and registerized. So take a look
at the C backend and LLVM.


More information about the Glasgow-haskell-users mailing list