3 ms·
> strict:lazy::manual memory:poorly optimized GC Replace "lazy" with "non-strict" and I think you're on to something. Strict and lazy both specify a particular
by ericlavigne 16y ago
> strict:lazy::manual memory:poorly optimized GC
Replace "lazy" with "non-strict" and I think you're on to something. Strict and lazy both specify a particular evaluation order, but you are talking about leaving the evaluation order unspecified and letting the compiler or runtime decide which evaluation order is best.
I love today's GC, which allows me to mostly forget about memory management, but if GC still meant waiting hours for a collection I would be more inclined to manage my own memory.
Clojure's lazy sequences, combined with doall to force strict evaluation when you want it, seem like a nice compromise for now, but will likely seem archaic when a good evaluation-order optimizer is developed.