Slight bootstrap re-organization

Brian Rice water at tunes.org
Mon Jan 9 02:36:10 PST 2006


Hello again,

I've separated out various non-essential types from libraries that  
become part of the kernel image on bootstrap. Here's the list:
Complex -> complex.slate.
Association -> association.slate.
ArrayMD -> multi-dimensional.slate.
CharacterCollection -> character-collection.slate.
Stack -> stack.slate.

Also, the non-essential libraries of the post-bootstrap are now  
loaded indirectly via a src/mobius/prelude.slate which is in turn  
loaded by the compiled-in post-bootstrap.slate. This means that  
prelude.slate is loaded dynamically, so that the full image build-up  
sequence can be controlled just by editing the file and running the  
VM with a kernel image, rather than requiring a full bootstrap.

The result of all this in measurements is that kernel image sizes are  
now 21kb smaller (625kb now), and the full images now are larger  
since they're storing sources with the libraries they load that were  
formerly just in the kernel image as compressed bytecode. Of course,  
a lightweight image weighs in at maybe 200kb less than that if you  
keep out some of the higher level utilities. A configuration system  
for this would be interesting, along with better support in the  
module system to auto-configure based on inferred dependencies. I  
also might make the FFI part of the standard setup.

Anyway, these changes altered the expectations of the new images, so  
you need to pull the latest patches to get prelude.slate before  
trying to load them. Images and patches have been uploaded to alpha,  
and the tarball is also updated.

--
-Brian
http://tunes.org/~water/brice.vcf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20060109/a585e42e/PGP.pgp


More information about the Slate mailing list