Gentlemen,
Here comes a preview of the nanoscheme proto still coded in C. But now it is equipped with 64-bit integer and double precision calculus. It comes with its initialization file and three test scripts which you know very well. There is also my timeit.exe inside that you can use to benchmark nanoscheme's speed against e.g. tinyscheme.
Please note that nanoscheme cannot read its command line yet. So, in order to benchmark a particular script, proceed as follows:
1. Open nsinit.scm and uncomment a corresponding (load "xxx") command at its end;
2. Open the corresponding "xxx" test script and uncomment (quit) command at its end; and finally
3. Open up your shell console, cd to the directory where your nanoscheme zip has been decompressed, and type timeit nanoscheme at the prompt. As nanoscheme launches, it will load its nsinit.scm file automatically, execute the (load "xxx") command within, load and run the file "xxx", and quit back to the prompt. There and then you will see the benchmark results printed automatically in your shell console window.
On my PC, nanoscheme is typically 3 times faster than tinyscheme regardless of CPU or FPU calc in relatively long tests such as e.g. the doubly recursive fibonacci(35). asciim runs 5 times faster in nanoscheme than in tinyscheme.
Note that nanoscheme's 64-bit double precision is also much better than that of tinyscheme. Open up the king script and change its parameter at the top of the page to see and compare how it runs with 64-bit integer and double precision.
Be forewarned however that it currently only supports +, -, *, and / arith operators. A complete range of R5RS math, pow, exp and trig operators and functions will be added when ported to OxygenBasic.
Until then, enjoy!
.