UI demo performance, GC

Brian Rice water at tunes.org
Tue Mar 20 16:20:55 PDT 2007


Hey Tim!

On Mar 20, 2007, at 3:35 PM, Timmy Douglas wrote:

> "Brian T. Rice" <water at tunes.org> writes:
>
>> A user in the IRC channel was nice enough to bother making a full  
>> profile
>> of the VM under load while running the SDL UI demo. A lot of the  
>> time is
>> focussed on GC:
>> http://paste.lisp.org/display/22751
>>
>> So, there's a distinct likelihood that a simple generational GC
>> somewhat like Squeak's would benefit us enough to have a workable
>> UI. I sketched one out originally in the first VM design, but it was
>> never fully tested and we let it rot and fade from the repository
>> after a while. I could bring it up, or someone could take it on as a
>> short project.
>
> could you find that file please? I'd like to take a look at it.

A quick look in my local files (and through tarballs) didn't turn up  
anything.

However, I found the tarball from before Lee's re-arrange of the  
sources in CVS, when that file went away, and here it is:
http://slate.tunes.org/slate-precvs-rearrange/src/mobius/vm/gc.slate

Note that it uses Squeak-style forwarding pointers which is not the  
same as Lee's choice of card-marking as a scheme for GC. Card-marking  
does have its advantages (which can be found with a little research).  
Mostly I wrote it as an exercise in comparing Pidgin vs. Slang, the C- 
like dialects for VM implementation.

--
-Brian
http://briantrice.com

-------------- 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/20070320/666ea90d/PGP.pgp


More information about the Slate mailing list