473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Where Can I download Cfront from ?

Hi !!!

I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).

But I cant find any place to download it from ?
Any links,resources ?

Regards,
Rohit Upadhyay
Nov 14 '05 #1
10 5435
Rohit Upadhyay HCST wrote:
Hi !!!

I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).

But I cant find any place to download it from ?
Any links,resources ?

Who said that C++ code gets translated to C nowadays?


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Nov 14 '05 #2

"Rohit Upadhyay HCST" <ro************@electrobug.com> wrote in message
news:52**************************@posting.google.c om...
Hi !!!

I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).

But I cant find any place to download it from ?
Any links,resources ?

Regards,
Rohit Upadhyay


You could try using Google and searching for "download cfront", or something
similar.
-H
Nov 14 '05 #3
Rohit Upadhyay HCST wrote:
Hi !!!

I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).
The flavor(s) of C++ handled by Cfront are obsolete now, as important as they
were in their time.

Comeau C++ translates C++ into C, but the translation depends on the backend
compiler used, and the intermediate embedding of C++ in C is proprietary.
Regards,
Rohit Upadhyay


Jonathan
Nov 14 '05 #4
In article <52**************************@posting.google.com >,
Rohit Upadhyay HCST <ro************@electrobug.com> wrote:
I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).

But I cant find any place to download it from ?
Any links,resources ?


cfront was a commercial product, so there is no place
to download it from per se. Of course, translation
from C++ to C can be interesting, but that is only one way
to do it, so don't get caught up in one way per se.
Anyway, you'll be better off with Lippman's text
"Inside the C++ Object Model" which will cover things
at the level you're asking.
--
Greg Comeau / Comeau C++ 4.3.3, for C++03 core language support
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?
Nov 14 '05 #5
In article <1104871236.935215@athnrd02>,
Ioannis Vranos <iv*@remove.this.grad.com> wrote:
Rohit Upadhyay HCST wrote:
I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).

But I cant find any place to download it from ?
Any links,resources ?

Who said that C++ code gets translated to C nowadays?


Me... who says it doesn't? :) Anyway yes, indeed,
cfront is now outdated, but Comeau C++ is often used this
way (certainly in generally released commercial ports it is)
as one of its phases of translation.
--
Greg Comeau / Comeau C++ 4.3.3, for C++03 core language support
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?
Nov 14 '05 #6
In article <34*************@individual.net>,
Jonathan Turkanis <te******@kangaroologic.com> wrote:
Rohit Upadhyay HCST wrote:
I wanted to migrate to c++, But Im in no hurry
so I actually want to see how the C++ calls get
translated into C, using Cfront(the original thing
that Bjourne developed).


The flavor(s) of C++ handled by Cfront are obsolete now,
as important as they were in their time.

Comeau C++ translates C++ into C, but the translation
depends on the backend compiler used, and the intermediate
embedding of C++ in C is proprietary.


As did cfront (earlier version of Comeau C++ were based
on cfront). Anyway, indeed. Rovert should get a hold of
the text I pointed out earlier in the thread (and once again,
just enjoy the text for what it is, it does offer some
insights for the curious, but don't get so caught up with it).
--
Greg Comeau / Comeau C++ 4.3.3, for C++03 core language support
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?
Nov 14 '05 #7
Greg Comeau wrote:
In article <34*************@individual.net>,
Jonathan Turkanis <te******@kangaroologic.com> wrote:
Rohit Upadhyay HCST wrote: The flavor(s) of C++ handled by Cfront are obsolete now,
as important as they were in their time.

Comeau C++ translates C++ into C, but the translation
depends on the backend compiler used, and the intermediate
embedding of C++ in C is proprietary.
As did cfront (earlier version of Comeau C++ were based
on cfront).


Do you mean that the translation was backend-dependent, that the intermediate
format was proprietary, or both?
Anyway, indeed. Rovert should get a hold of
the text I pointed out earlier in the thread (and once again,
just enjoy the text for what it is, it does offer some
insights for the curious, but don't get so caught up with it).


I enjoyed reading Lippman's book, but one thing I found slightly annoying was
that while in most places he is careful to differentiate between particular
implementations and the (then-emerging) C++ standard, in other places he leaves
the impression that the Cfront implementation is the only way to do things.

It would be nice if there were a more up-to-date version of his book.

Jonathan
Nov 14 '05 #8
Rohit Upadhyay HCST wrote:
I wanted to migrate to C++, but I'm in no hurry
so I actually want to see how the C++ calls
get translated into C, using Cfront
(the original thing that Bjourne developed).


You will be disappointed.
The C code emitted by Cfront
(and other C++ to C translators)
is *not* human readable
and certainly not maintainable.
Nov 14 '05 #9
Rohit Upadhyay HCST wrote:
...(the original thing that Bjourne developed).
Take a look at http://www.research.att.com/~bs/bs_faq.html#pronounce (P.S.) ;-)
Regards,
Rohit Upadhyay


Jonathan
Nov 14 '05 #10
In article <34*************@individual.net>,
Jonathan Turkanis <te******@kangaroologic.com> wrote:
Greg Comeau wrote:
In article <34*************@individual.net>,
Jonathan Turkanis <te******@kangaroologic.com> wrote:
Rohit Upadhyay HCST wrote: The flavor(s) of C++ handled by Cfront are obsolete now,
as important as they were in their time.

Comeau C++ translates C++ into C, but the translation
depends on the backend compiler used, and the intermediate
embedding of C++ in C is proprietary.


As did cfront (earlier version of Comeau C++ were based
on cfront).


Do you mean that the translation was backend-dependent,
that the intermediate format was proprietary, or both?


At least both.
--
Greg Comeau / Comeau C++ 4.3.3, for C++03 core language support
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?
Nov 14 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Rohit Upadhyay HCST | last post by:
Hi !!! I wanted to migrate to c++, But Im in no hurry so I actually want to see how the C++ calls get translated into C, using Cfront(the original thing that Bjourne developed). But I cant...
0
by: Alfred B. Thordarson | last post by:
I have unsuccessfully searched back and forth for a solution to the following problem. I hope someone out there can help me. I have created a C++ .NET wrapper for a 3-rd party C based DLL...
1
by: Wormald | last post by:
I am trying to recreate a legacy 68K Apollo development environment on Windows. (Nearly there excpet for the CFRONT). We are currently outsourcing this work but would ideally like to bring it...
2
by: napi | last post by:
I managed to compile CFront 3.03 on my Ubuntu Linux kernel 2.6.20-15. I compiled CFront with g++ version 4.1.2 and used bison 2.3 to process the gram.y file. When I compiled this program using...
1
by: napi | last post by:
Does anyone know of any public domain C++ compiler that uses CFront as its front end? If you do would appreciate the links or other related info. p.s. Info on any commercial C++ compiler that...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.