[squeak-dev] Lessons learned from (Re: Faster fibonacci)
keithy at consultant.com
Mon Apr 29 23:15:34 UTC 2019
Years ago I was trying to rationalise all the various functionality of
forks. I also wanted to support a scheme that would handle being
bootstrapped from sources.
i.e. the startup process may load in or unload a number of classes from
sources at an early stage, and when the time came to think about
#startUp they may not have been #initialised, (the #startUp might be
So I vaguely recollect that when I had a go at re-doing the startuplist
I removed this responsibility to a class of its own, called
StartupManager, and removed the class var that holds the list in favour
of a voting system.
I found some code hiding away (somewhat obfuscated)
Looking through the comments I find
New simple startUp shutDown protocol
classes implement #startUpPriority #shutDownPriority to register.
Note: this code could be hosted on a different class, such as
The startUp and shutdownLists are compiled by looking at all
#startUpPriority and #shutDownPriority'
Priorities are: #first #earliest #earlier #early #normal #late #later
As you can imagine this was very much a first attempt at resolving these
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev