Begin forwarded message:
From: stepken <stepken@web.de> Date: April 21, 2009 12:59:15 PM CEDT To: pharo-project-owner@lists.gforge.inria.fr Subject: Garbage Avoidance Techniques ... in Squeak?
Hi!
Just reviewing some old ideas
Frank Lesser (programming the Dolphin NG VM) in our last session mentioned "garbage avoidance":
"Garbage not produced hasn't to be garbage collected!"
Therefore the Debugger has to be adapted for being able to debug garbage. Sounds strange, but could be very informative even for a programmer ;-)
I think, that this - in long term - results tremendous speedups over polymorphic inline caching and other "tricks" and ... the object model has to be changed for being able just to throw away garbage without explicitly collecting. Memory fragmentation avoidance should be also considered in this context.
Whenever i see a VM running and i see "pumping effects" in memory allocation, I know, the designers of the VM and code are beginners.
And a second old idea somes into my mind when looking at the squeak code ... a GOF - Pattern:
"Composition over Inheritance" - makes code much, much easier refactorable and results in much faster execution code, IMHO.
Have fun, Guido Stepken