Re: C++ in ternms of C

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <kqjg61l9qi7ogsdbr2n8m2g7uktsnf8502@xxxxxxx>,
Severian [MVP] <severian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>On Fri, 22 Apr 2005 10:44:28 +1000, "John Carson"
><jcarson_n_o_sp_am_@xxxxxxxxxxxxxxx> wrote:
>
>>"Severian [MVP]" <severian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
>>message news:gjrf61p3l5erbl9n8c5k58sa5lf3lqicr2@xxxxxxx
>>>
>>> Most of the original C++ compilers converted C++ to C, rather than
>>> directly to machine code. If any of these are still available, you may
>>> want to have a look at their output to help understand the C++ object
>>> model, though the generated C code may not be designed to be
>>> particularly readable, and they won't support later C++ additions,
>>> such as templates.
>>
>>Comeau's current compiler does this.
>
>Thanks, I didn't realize that.

I am qualified to verify this :) As in my other post, this is
normally not something users need to get involved in/with though
and so should be considered an implementation detail only.
--
Greg Comeau / Comeau for the Mac? Stay tuned.
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
.



Relevant Pages

  • Re: C++ in ternms of C
    ... >directly to machine code. ... Comeau C++ is currently the most compliant compiler available, ... as an implementation detail only. ... Greg Comeau / Comeau for the Mac? ...
    (microsoft.public.vc.language)
  • Re: Method inlined in source1.cpp and called in source2.cpp
    ... If you mean portability across OSs, well Comeau supports the popular ... World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.cpp)
  • Re: Pointer-to-function with variable argument number
    ... >that option automatically when it detects I'm compiling with Comeau... ... There is a Comeau patch which can handle modes automatically depending ... World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.c)
  • Re: c99 on Microsoft Visual Studio
    ... Greg Comeau / Comeau C++ 4.3.3, ... World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.c)
  • Re: Optimizing a switch statement
    ... Greg Comeau / Comeau C++ 4.3.3, ... World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.c)