[j-devel] Closette for ABCL

Greetings,
I tweaked Closette into working for ABCL.  It is located at:
http://arahant.com/files/closette.lisp
It works when loaded and it also works when compiled and loaded. ( You have
to load it first before compiling it but once compiled you only need load
the compiled version.) 
It seems to run fine.  It has a MOP.  I did some quick checks to see if it
hung on to instances (causing a leak) but it didn't.  It seems to work
fine. 
This CLOS implementation was sufficient to run the code I needed.  The old
ABCL CLOS was not. 
I did not do any timing tests.  I would certainly be interested in a
comparisons of the old CLOS code to this Closette. 
Many of my tweaks involved getting around the inherent CLOS in ABCL.  If
this Closette becomes a part of ABCL there would be no need in getting
around the clashes (since it would be the only CLOS). 
I think we should seriously consider this code to supersede the existing
CLOS until someone can get PCL up. 
Blake McBride

Thread view

Greetings,
I tweaked Closette into working for ABCL.  It is located at:
http://arahant.com/files/closette.lisp
It works when loaded and it also works when compiled and loaded. ( You have
to load it first before compiling it but once compiled you only need load
the compiled version.) 
It seems to run fine.  It has a MOP.  I did some quick checks to see if it
hung on to instances (causing a leak) but it didn't.  It seems to work
fine. 
This CLOS implementation was sufficient to run the code I needed.  The old
ABCL CLOS was not. 
I did not do any timing tests.  I would certainly be interested in a
comparisons of the old CLOS code to this Closette. 
Many of my tweaks involved getting around the inherent CLOS in ABCL.  If
this Closette becomes a part of ABCL there would be no need in getting
around the clashes (since it would be the only CLOS). 
I think we should seriously consider this code to supersede the existing
CLOS until someone can get PCL up. 
Blake McBride

Hi, Blake
That's really a big step, and I'm glad that you did it, and
successful.  It's a quick solution. 
ABCL's current clos.lisp has something valuable to be merged into your
modified version of Closette (forware-reference-class support).  And
there are other parts of ABCL need CLOS (i.e. condition), just load
your closette version won't cause them to use the new CLOS
implentation.  So, the correct way is put it in the middle of ABCL
building progress. 
Maybe we should open a new branch for this mission, on the branch,
following things can do:
1) remove CLOS-related Java source. 
2) use code from this closette.lisp instead of original code in
clos.lisp
3) merge all post-Closette code in clos.lisp
4) test and bugfix ...
But I don't know how does other branch live with these changes when
all being merged into trunk. 
On 2009-1-21, at 11:16, Blake McBride wrote:
>
> Greetings,
>
> I tweaked Closette into working for ABCL.  It is located at:
>
> http://arahant.com/files/closette.lisp
>
> It works when loaded and it also works when compiled and loaded. 
> (You have to load it first before compiling it but once compiled you
> only need load the compiled version.) 
>
> It seems to run fine.  It has a MOP.  I did some quick checks to see
> if it hung on to instances (causing a leak) but it didn't.  It seems
> to work fine. 
>
> This CLOS implementation was sufficient to run the code I needed. 
> The old ABCL CLOS was not. 
>
> I did not do any timing tests.  I would certainly be interested in a
> comparisons of the old CLOS code to this Closette. 
>
> Many of my tweaks involved getting around the inherent CLOS in
> ABCL.  If this Closette becomes a part of ABCL there would be no
> need in getting around the clashes (since it would be the only CLOS). 
>
> I think we should seriously consider this code to supersede the
> existing CLOS until someone can get PCL up. 
>
> Blake McBride
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story. 
> http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
> armedbear-j-devel mailing list
> armedbear-j-devel@...
> https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel
--
Chun Tian (binghe)
NetEase.com, Inc.
P. R. China