Re: Why is compiled basic slower than C? (Basic is the future)

pdg@crosfield.co.uk (paul goffin)
Wed, 19 Aug 1992 12:57:28 GMT

          From comp.compilers

Related articles
[8 earlier articles]
Re: Why is compiled basic slower than C? (Basic is the future) dbenn@leven.appcomp.utas.edu.au (1992-08-15)
Re: Why is compiled basic slower than C? (Basic is the future) pardo@cs.washington.edu (1992-08-15)
Re: Why is compiled basic slower than C? (Basic is the future) macrakis@osf.org (1992-08-17)
Re: Why is compiled basic slower than C? (Basic is the future) fjh@munta.cs.mu.OZ.AU (1992-08-18)
Re: Why is compiled basic slower than C? (Basic is the future) imp@Solbourne.COM (1992-08-18)
Re: Why is compiled basic slower than C? (Basic is the future) burley@geech.gnu.ai.mit.edu (1992-08-18)
Re: Why is compiled basic slower than C? (Basic is the future) pdg@crosfield.co.uk (1992-08-19)
Re: Why is compiled basic slower than C? (Basic is the future) pk@cs.tut.fi (1992-08-21)
Re: Why is compiled basic slower than C? (Basic is the future) robert@metropolis.com (1992-08-25)
| List of all articles for this month |
Newsgroups: comp.compilers
From: pdg@crosfield.co.uk (paul goffin)
Organization: Crosfield Electronics, Hemel Hempstead, United Kingdom.
Date: Wed, 19 Aug 1992 12:57:28 GMT
References: 92-08-042
Keywords: Basic, C, performance

Glenn_Johansson@f313.n203.z2.fidonet.cd.chalmers.se writes:
>1. How much slower is compiled modern basic than compiled modern C?


Are you sure it is?


>2. Why is the basic compilers creating a slower product than the C
>compilers?
[stuff deleted]
> e. Other (?)


Because C is pretty trendy at the moment and so most of the effort in
improving compilers is going into C. Compiled BASIC has never been very
trendy.


I've usually found a good FORTRAN compiler to be better than any C
compiler. That's not because FORTRAN is 'better' than C, it's just
because a lot of people were once interested in making FORTRAN programs
run very fast, so they spent the money to sort the compilers out.


Paul
--
+ Paul Goffin + Crosfield Electronics Ltd. U.K. +44 442 230000x3357 +
[Fortran is easier to optimize than C, mostly because it doesn't allow a lot
of the aliasing possible in C. -John]
--


Post a followup to this message

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