home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!faatcrl!iecc!compilers-sender
- From: pdg@crosfield.co.uk (paul goffin)
- Newsgroups: comp.compilers
- Subject: Re: Why is compiled basic slower than C? (Basic is the future)
- Keywords: Basic, C, performance
- Message-ID: <92-08-113@comp.compilers>
- Date: 19 Aug 92 12:57:28 GMT
- References: <92-08-042@comp.compilers>
- Sender: compilers-sender@iecc.cambridge.ma.us
- Reply-To: pdg@crosfield.co.uk (paul goffin)
- Organization: Crosfield Electronics, Hemel Hempstead, United Kingdom.
- Lines: 27
- Approved: compilers@iecc.cambridge.ma.us
-
- 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]
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-