Re: backend question

"felix" <felixundduni@freenet.de>
24 Nov 2002 01:21:29 -0500

          From comp.compilers

Related articles
[3 earlier articles]
Re: backend question fjh@cs.mu.OZ.AU (Fergus Henderson) (2002-11-13)
Re: backend question joachim_d@gmx.de (Joachim Durchholz) (2002-11-13)
Re: backend question thp@cs.ucr.edu (2002-11-17)
Re: backend question joachim_d@gmx.de (Joachim Durchholz) (2002-11-20)
Re: backend question chase@world.std.com (David Chase) (2002-11-20)
Re: backend question reig@tenerife.ics.uci.edu (Fermin Reig) (2002-11-24)
Re: backend question felixundduni@freenet.de (felix) (2002-11-24)
Re: backend question fjh@cs.mu.OZ.AU (Fergus Henderson) (2002-11-24)
Re: backend question thp@cs.ucr.edu (2002-11-24)
Re: backend question whopkins@alpha2.csd.uwm.edu (Mark) (2002-11-24)
Re: backend question nmm1@cus.cam.ac.uk (Nick Maclaren) (2002-11-24)
Re: backend question joachim_d@gmx.de (Joachim Durchholz) (2002-11-24)
Re: backend question nmm1@cus.cam.ac.uk (Nick Maclaren) (2002-11-26)
[6 later articles]
| List of all articles for this month |

From: "felix" <felixundduni@freenet.de>
Newsgroups: comp.compilers
Date: 24 Nov 2002 01:21:29 -0500
Organization: Compilers Central
References: 02-11-063 02-11-078 02-11-099 02-11-104
Keywords: C, tools
Posted-Date: 24 Nov 2002 01:21:29 EST

Joachim Durchholz wrote:
>
> You can work around a lot of limitations of C - it's going to be ugly
> and inefficient, but it's possible. Tail-call elimination is not
> feasible (unless gcc offers another extension to handle exactly this,
> of course *g*).


Tail-call elimination is no problem in C (or even Standard C). There
are several ways of implementing it (as shown by Steele, or Baker).
Wether that's ugly, is in the eye of the beholder. I find
machine-generated C much more appealing than x86 assembly language.
Of course it's less efficient than a direct, native code translation
scheme. But pure, raw efficieny isn't *that* important
anymore...otherwise everybody would still code in Assembler.


Besides, then there is point about the costs of porting a compiler to
new hardware. An important issue, IMHO.


On the other hand several people seem to work towards providing TCO
for GCC (I just read one or two papers, though - I don't know what the
current state of affairs is).


cheers,
felix


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.