home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mitech!gjc
- From: gjc@mitech.com (George J. Carrette)
- Newsgroups: comp.lang.scheme
- Subject: Are interpreters now as fast as compiled code used to be?
- Message-ID: <4051@mitech.com>
- Date: 14 Dec 92 12:14:23 GMT
- Organization: Mitech Corporation, Concord MA
- Lines: 19
-
- Informal survey, how fast is your Scheme interpreter?
-
- The question is: With the latest wave of stock hardware,
- have simple interpreters gotten as fast as
- compilers were only a couple years ago?
-
- (define (standard-fib x)
- (if (< x 2)
- x
- (+ (standard-fib (- x 1))
- (standard-fib (- x 2)))))
-
- (standard-fib 20) => 6765 ; in how many seconds?
-
- In SIOD 2.9 (this is a s-exp interpreter using lists for environment rep)
- we get a result in 0.42 seconds on the low-end VMS Alpha machine.
- (1.3 seconds on Solbourne 5E/900)
-
- -gjc
-