Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is CFront?

333 views
Skip to first unread message

Kiril Avdeiv

unread,
Jan 24, 2002, 10:52:16 AM1/24/02
to
Hope this posting will not be qualified as vendor specific, as CFront
looks to be something whose functionality is taken into account by
todays C++ compiler developers.

I recently posted a question on the implementability of "export" and a
bulk of the explanations were centred around something called CFront.

I have no idea what CFront is as I never ran into a compiler by that
name. As this CFront thing has so much influence on the design of the
contemporary C++ compilers, can any one explain to me and others what
that is?

Thank you.

---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std...@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.research.att.com/~austern/csc/faq.html ]

Barry Margolin

unread,
Jan 24, 2002, 2:09:21 PM1/24/02
to
In article <873f7ae8.0201...@posting.google.com>,

Kiril Avdeiv <kav...@mail.ru> wrote:
>Hope this posting will not be qualified as vendor specific, as CFront
>looks to be something whose functionality is taken into account by
>todays C++ compiler developers.
>
>I recently posted a question on the implementability of "export" and a
>bulk of the explanations were centred around something called CFront.
>
>I have no idea what CFront is as I never ran into a compiler by that
>name. As this CFront thing has so much influence on the design of the
>contemporary C++ compilers, can any one explain to me and others what
>that is?

cfront was one of the first C++ implementations. The name come from the
fact that it translated C++ code into C code (i.e. it's a C front-end).
It has been used as a model or reference implementation for some time.

--
Barry Margolin, bar...@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

Kiril Avdeiv

unread,
Jan 25, 2002, 1:28:30 PM1/25/02
to
Barry Margolin <bar...@genuity.net> wrote in message news:<EQY38.10$qg4.50669@burlma1-snr2>...

> >I recently posted a question on the implementability of "export" and a
> >bulk of the explanations were centred around something called CFront.
> >
> >I have no idea what CFront is as I never ran into a compiler by that
> >name. As this CFront thing has so much influence on the design of the
> >contemporary C++ compilers, can any one explain to me and others what
> >that is?
>
> cfront was one of the first C++ implementations. The name come from the
> fact that it translated C++ code into C code (i.e. it's a C front-end).
> It has been used as a model or reference implementation for some time.

Barry, thank you for the answer.

Was that a front-end or a full-fledged compiler? If it was a
front-end, do you know which compilers used (still use) it?

Stephen Howe

unread,
Jan 25, 2002, 3:12:08 PM1/25/02
to

"Kiril Avdeiv" <kav...@mail.ru> wrote in message
news:873f7ae8.02012...@posting.google.com...

> Barry Margolin <bar...@genuity.net> wrote in message
news:<EQY38.10$qg4.50669@burlma1-snr2>...
> > >I recently posted a question on the implementability of "export" and a
> > >bulk of the explanations were centred around something called CFront.

Kiril,

TTBOMK, CFront is associated with the same place that Bjarne Stroustrup
works out. It was like the first C++ compiler.
If you buy "The Design and Evolution of C++", it covers the history of
CFront and the different versions
See http://www.research.att.com/~bs/dne.html

Stephen Howe

Ken Shaw

unread,
Jan 25, 2002, 4:43:35 PM1/25/02
to

"Kiril Avdeiv" <kav...@mail.ru> wrote in message
news:873f7ae8.02012...@posting.google.com...
> Barry Margolin <bar...@genuity.net> wrote in message
news:<EQY38.10$qg4.50669@burlma1-snr2>...
> > >I recently posted a question on the implementability of "export" and a
> > >bulk of the explanations were centred around something called CFront.
> > >
> > >I have no idea what CFront is as I never ran into a compiler by that
> > >name. As this CFront thing has so much influence on the design of the
> > >contemporary C++ compilers, can any one explain to me and others what
> > >that is?
> >
> > cfront was one of the first C++ implementations. The name come from the
> > fact that it translated C++ code into C code (i.e. it's a C front-end).
> > It has been used as a model or reference implementation for some time.
>
> Barry, thank you for the answer.
>
> Was that a front-end or a full-fledged compiler? If it was a
> front-end, do you know which compilers used (still use) it?

CFront produced C source code that then could be fed to any compiler that
supported the same version of the C standard.

Ken Shaw

0 new messages