[self-interest] Re: Self on Linux

Jecel Assumpcao Jr jecel at lsi.usp.br
Thu Jan 21 17:45:33 UTC 1999

This looks good. Here is a file that might help you:


This was created by Ole Agesen using his amazing type analysis and
program extraction system. This file, when read into the initial
Self system (empty world) creates just the objects needed to run
a simple program that prints a table of factorials up to 49! and
then stops.

Note that as is, the file creates a snapshot (about 300KB) that
when "executed" will do the job. For testing a port it would
probably be a good idea to change the last few lines to run the
program directly instead. That is, replace everything from the
"snapshotAction _AddSlots:" on with just "world obj7 main".

Speaking of snapshots and things, did you worry about the infamous
Endian issue? Self ran originally on 680X0 machines, then the Sparc.
Both of these are "big endian" processors, while the X86 is a "little
endian" one. This will cause problems when reading integers/pointers
from a file, talking with the network and so on. In Squeak, they were
able to restrict their problems to the image (snapshot) code and the
graphics primitives.

After you get things running well enough, you might want to take a
look at the optional files in the download area and get the stuff
in the "tests" subdirectory. Besides some benchmarks, there are a lot
of "regression tests" that will allow you to test all aspects of your
VM port.

-- Jecel

eGroup home: http://www.eGroups.com/list/self-interest
Free Web-based e-mail groups by eGroups.com

More information about the Self-interest mailing list