Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: evaluation result (or... goodbye)

From: sunandadh:aol at: 4-May-2002 3:28

Maarten.Koopmans:
> > Carl Sassanrath is on record as saying that Rebol is for "programming in > > the small". > > But it isn't. You can program in the large with the language as is. It is > more than good enough.
We may be disagreeing no what is large and what is small. But Rebol does have some limitations that can trip you up very early on. I know some of these are being relieved (e.g. IOS link doubles the number of available variables) but even so, 8000 (the IOS limit) is not enough. Try these three snippets (you'll need a new console after the first one) to find the fundamental limits on your machine: (the third may run for hours in a machine with insufficient real memory. It only takes moments with 384k). ;; ----------------------- ;; Maximum different variable names print length? first system/words nn: 1 print mold disarm try [ forever [ to-word join "Var" nn nn: nn + 1 ] ; forever ] ; try print length? first system/words ;; ----------------------- ;; maxium stack depth recur: func [nn [integer!]] [prin [nn " "] recur nn + 1] recur 1 ;; ----------------------- ;; maximum memory (or block size) print system/stats ;; memory in use nn: ["X"] print mold disarm try [ forever [ append nn nn ;; double the length print [now/time/precise length? nn] ] ; forever ] ; try print system/stats Sunanda.