(define (tst a max)
(if (= a max) a
(tst (add1 a) max)))
(time (tst 0 10000000))
time in milisecondsAlso gl/glu/glut under windows using cl-glop
OK , put it in my DropBox : here's the link
100%, yes -- that's the original Russian product
i put a sleep into the idle loop (runs around 40% cpu usage)
(file is a 7zip around 10Mb)
in Lisp there is no real distinction between read-time, compile-time, and runtime. You can compile or run code while reading, read or run code while compiling, and read or compile code at runtime.
the gl_list is also present in system-memory , because it's static it should be in hardware memory
There're some problems with these CL's under Linux ...
You have to edit the text field , and then hit the update button.
... but the navigation by the arrow key works here...
::)
on mine the parenthesis are almost gone !!
the problems :
-> -> -> -> ->
"Among the Racket community, which is laden with computer-science PhDs & professors .... etc"
(& I always start with the idea that it is me who made the mistake)
No problems with Steel Bank CL (for the moment)
I replaced (sleep/yield 0) (DoEvents equivalent ) with a "straight" sleep for 10mSec
... when identical code runs fine under Linux and erroneous under Win, then there's something wrong not (?) ...
the combination thinBasic , Oxygen and newLISP does solve all problems and fulfills my needs.
need to replace the use of the arrow keys for navigation -- what ure the usual keys ?? -- I'm working on a (mainly) French AZERTY keyboard
... for Linux , i'll keep using Racket ...
I'm back to windows ...
' ******************************************************************
' Complex number library
' ------------------------------------------------------------------
' Based on ComplexMath Delphi library by E. F. Glynn
' http://www.efg2.com/Lab/Mathematics/Complex/index.html
' ******************************************************************