Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Myrddin
recall that C++ ultimately gets compiled down to C then to assembly

It's been a long time since that's been true.

The original implementation of C++ called CFront, written by the creator of C++ itself, was just a preprocessor that translated C++ code into C. But as C++ grew in complexity (specifically when they added exception support!) C++ compilers went native.

http://en.wikipedia.org/wiki/Cfront

9 posted on 09/08/2011 12:56:34 PM PDT by krb (Obama is a miserable failure.)
[ Post Reply | Private Reply | To 7 | View Replies ]


To: krb
I backported CFront from BSD to a System V machine in 1984. Before that, I was writing C++ on a 3B20 using the first stuff Stroustrup released within the Bell System. The early CFront version on the HP9000 in 1986 were still putting out buggy code.

I'm well aware the backends have gone to a more native appoach. GNU compilers emit RTL. I'm not real surprised to hear the MS .Net compilers are putting out code compliant with that backend.

16 posted on 09/08/2011 3:15:23 PM PDT by Myrddin
[ Post Reply | Private Reply | To 9 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson