Related articles |
---|
Which target language do I choose? Thomas.Mork.Farrelly@nho.hydro.com (Thomas Mork Farrelly) (1998-07-10) |
Re: Which target language do I choose? henry@spsystems.net (1998-07-13) |
Re: Which target language do I choose? wclodius@aol.com (1998-07-17) |
Re: Which target language do I choose? andrew@openkast.com (Andrew Cruickshank) (1998-07-17) |
Re: Which target language do I choose? toon@moene.indiv.nluug.nl (Toon Moene) (1998-07-20) |
Re: Which target language do I choose? conway@cs.mu.OZ.AU (1998-07-20) |
Re: Which target language do I choose? albaugh@agames.com (1998-07-20) |
Re: Which target language do I choose? mark@msm.cam.ac.uk (1998-07-24) |
Re: Which target language do I choose? cts@bangkok.office.cdsnet.net (1998-07-26) |
[2 later articles] |
From: | wclodius@aol.com (Wclodius) |
Newsgroups: | comp.compilers |
Date: | 17 Jul 1998 10:05:24 -0400 |
Organization: | AOL http://www.aol.com |
References: | 98-07-109 |
Keywords: | practice, portable |
A few comments on Henry Spencer's post:
Most implementors that rely on a C/C++ compiler for their intermediate code
seem to end up relying on GCC as C is not quite a flexible as they want and C++
implementations are too variable in what they support. This means that their
portability is essentially equivalent to that of the gcc system. This suggests
that they would not be harmed by considering other languages supported by gcc.
Of these the most obvious option is the GNAT Ada compiler, but perhaps the
extended Pascal compiler is also useful.
I suspect Fortran 90 availability is rapidly increasing, particularly if you
count the subset languages. However, Fortran is an odd case for an
implementation, primarilly because of some of its argument passing semantics.
In many ways the argument passing semantics map well to functional languages,
however the semantics of FUNCTION calls (i.e., only the value returned is
important and any other side effects may be ignored), means that an
implementation of garbage collection would probably have to translate function
calls to subroutine calls to maintain the state necessary to keep track of the
garbage.
William B. Clodius
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.