Re: Why are intepreters so slow today

Paul Crowley (pdc@dcs.ed.ac.uk)
Tue, 19 Apr 1994 12:19:29 GMT

Quoting fred@genesis.demon.co.uk in article <766508782snz@genesis.demon.co.uk>:
>> int i; double x = 0.0;
>> for (i = 0; i < 1000000; i++) x = x + 1.0;

>I tried running this on an Acorn A5000 under C in interpreted basic.

>Under C this took 10 seconds, interpreted BASIC took 16 seconds.

Acorn knew that new users would take the speed of the BASIC as a
measure of the speed of the processor. As a result, ARM Basic is
beefed up and optimised far beyond its reasonable utility...
__ _____
\/ o\ Paul Crowley pdc@dcs.ed.ac.uk \\ // 42A47697 54144EA4 BACFA9FD C9433347
/\__/ Trust me. I know what I'm doing. \X/ WWW: http://tardis.ed.ac.uk/~pdc/