Re: [C--] C-- development

Norman Ramsey <[email protected]> Wed, 13 Mar 2013 17:42:22 -0400
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
 > From my outsider perspective, it appears that C-- is moribund until
 > someone picks it up again. However, I also think that, rather than
 > starting from the current C-- code base, it would be better to migrate
 > the distinctive features of C-- into the LLVM project. 

My opinion is that this would be nearly impossible.  LLVM and C-- make
fundamentally different assumptions about what knowledge is preserved
during code generation.  LLVM is a fantastic infrastructure but it
essentially aimed to do what gcc does, only better.  C-- had very
different goals.   I think it would be easier to do a new project from
scratch. 

 > I'll also note that the C-- project was originally based on the
 > design of the GHC (Haskell Compiler) back end, which has an
 > intermediate language called C-- or Cmm.

This account is exactly backwards.  The C-- project was launched by
Simon Peyton Jones in an attempt to develop a replacement for the
then-current back end of GHC.  The Cmm module and representation in
the GHC 7.6 back end are an "extended subset" of C--.


Norman
_______________________________________________
Cminusminus mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/cminusminus