1944 methods

Craig Latta craig at netjam.org
Thu Jun 14 00:17:52 UTC 2007


Hi Pavel--

> ...create a control image (with OSProcess) that takes the small image
> and starts to remove method by method and tests if the resultant image
> is not broken and returns correct outputs ;-)

     Why not just keep track of all the methods that get used by the
virtual machine by the task, and throw away all the rest of them with
the garbage collector? I did this for 3+4 and got an image that was
1,337 bytes[1].

> Maybe it opens the new interesting way how to continue with the
> license change. Only very few people can help with the license audit
> but all have computers and somebody may have access to powerful
> clusters.
>
> If the output conditions will be: "file-in the removed code back and
> perform basic tests", we may get relatively small set of methods for
> the license conversion. So we can have small MIT kernel and the rest
> of "non-free" Squeak code can be downloaded and loaded  manually by
> users.

     Sure, this has been the plan with Spoon, and we can do it with a
single modest machine.

     Is there some reason why you're reinventing here? I've been
mentioning Spoon progress and releases here the whole time I've been
working on it.


     curious,

-C

[1] http://netjam.org/spoon/smallest

-- 
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list