Re: Why are intepreters so slow today

Jeff Cantwell (cantwell@vuse.vanderbilt.edu)
Tue, 19 Apr 1994 15:15:39 GMT

In article <1994Apr16.050603.4921@ticipa.pac.sc.ti.com> clw@ticipa.pac.sc.ti.com (Chris Winemiller) writes:

>I tried this on my machine, and also tried the equivalent code in
>Smalltalk/V for Win32:
>
>x := 0.0.
>1000000 timesRepeat: [x := x + 1.0]
>
>The C version, running in a DOS window under Windows 3.1, executed in
>about 4 seconds. The Smalltalk code ran in 14 seconds. That's a factor
>of between 1/3 and 1/4 the speed of the C version---Certainly within
>your criterion of 1/10.

Just out of curiosity, what machine do you have? I ran this on my 66
Mhz 486 and it ran in 4 seconds using PP VW 1.0b.

-Jeff

-- 
Jeff Cantwell, VP, R&D, Private Business Inc.  P.O. Box 1603
Brentwood, TN 37024 EMail: cantwell@vuse.vanderbilt.edu 
Phone:(615) 790-0484 Fax: (615) 790-6193 Don't blame PBI
for anything I say! 2 Cor. 12:9 "Power is perfected in weakness."