From: | Dave Love <d.love@daresbury.ac.uk> |
Newsgroups: | comp.compilers |
Date: | 13 Jun 1996 18:03:19 -0400 |
Organization: | Daresbury Laboratory, Warrington WA4 4AD, UK |
References: | 96-05-061 96-05-163 96-06-016 |
Keywords: | UNCOL, C |
Dave Lloyd <dave@occl-cam.demon.co.uk> writes:
>> I'm surprised no one has mentioned C as a resonably sucessful
>> multi-langauge multi-target UNCOL. f2c,p2c,m2c, Scheme->C, sml2c,
>> Mercury, ghc, .... all
[Siskind's Stalin compiler for Scheme is allegedly particularly
notable in that class.]
Dave> As illustration, g77 produces substantially better code than f2c+gcc.
Bad example, I think. In fact, it's only recently that g77 has caught
up with f2c+gcc in some areas (and should now mostly do at least as
well unless you can win by tricks like inlining library routines with
f2c). Also, my experience of f2c with gcc is that it hasn't been
substantially slower than the vendor compiler on the platforms I've
used (specifically MIPS), though I doubt that's true generally.
I'm sure there's room for improvement, however, particularly if the
facility to use Fortran no-alias semantics is added to the gcc
backend, as it may be.
Are meaningful comparisons available from compilers which can both
generate native code and go via C (GHC and Gambit, perhaps)?
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.