473,756 Members | 6,250 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5521
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.goo gle.com...
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.935 215@athnrd02>,
Ioannis Vranos <iv*@remove.thi s.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.ne t>,
Jonathan Turkanis <te******@kanga roologic.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.ne t>,
Jonathan Turkanis <te******@kanga roologic.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

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

Similar topics

10
503
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 find any place to download it from ? Any links,resources ?
0
1571
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 (cfront.dll from Navision) but the wrapper access to the DLL doesn't work for some of the exported functions?!? To illustrate what I mean, I have created the following small test-case. You simply compile and link it using the cf.h and libload.c (from...
1
2050
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 inhouse. All I need now is a CFRONT Compiler to translate C++ source to C source. Our old Apollo's are gone, and need to replace with an equivalent Microsft based Compiler/translator.
2
2783
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 "CC -F hello.C": --------------------------------------- hello.C------------------------------------------------- struct y { int p;
1
2270
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 uses CFront is fine too. Thanks. Napi http://www.softwarepreservation.org/projects/c_plus_plus/index.html#cfront
41
18214
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
9303
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9679
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9541
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8542
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4955
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3651
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3141
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.