LWN.net Logo

Mark Shuttleworth on the future of Ubuntu

Mark Shuttleworth on the future of Ubuntu

Posted Jun 5, 2008 19:55 UTC (Thu) by nix (subscriber, #2304)
In reply to: Mark Shuttleworth on the future of Ubuntu by oak
Parent article: Mark Shuttleworth on the future of Ubuntu

The only C++ compiler I've ever heard of that used a C compiler as its 
code generator was Cfront (and even that was quite unusual: it wasn't a 
preprocessor in any sense, in that it did full translation and just 
happened to emit C code: that C could would never contain e.g. any syntax 
errors unless Cfront was buggy).


(Log in to post comments)

Mark Shuttleworth on the future of Ubuntu

Posted Jun 5, 2008 21:06 UTC (Thu) by oak (guest, #2786) [Link]

> The only C++ compiler I've ever heard of that used a C compiler as its  
code generator was Cfront

I have some faint recollections that some other C++ compilers were derived 
from that and then there was also Glockenspiel C++ and stuff using the EDG 
C++ frontend like Comeau C++.


> (and even that was quite unusual: it wasn't a preprocessor in any sense, 
in that it did full translation and just  happened to emit C code:

Yes, sorry my terminology was bad.  But isn't this also how Vala works?

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds