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 10 5526
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
"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
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
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?
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?
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?
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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 ?
|
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...
|
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.
|
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;
|
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
| |
by: Miroslaw Makowiecki |
last post by:
Where can I download Comeau compiler as a trial version?
Thanks in advice.
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |