Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Feature Survey - Tables, Weak References, and Guardians - Please Contribute

1 view
Skip to first unread message

Aaron W. Hsu

unread,
Jun 1, 2010, 4:01:58 PM6/1/10
to
Hey Everyone,

I'm trying to compile a list of feature support for Scheme
implementations concerning tables, weak references and guardian like or
compatible features. I think I've come up with accurate counts, but maybe
someone could help me since I am not familiar with all of these
implementations.

Please provide corrections and additions or clarifications!

Key:
T = Hashtable Support
K = Key-weak Hashtables Support
W = Weak Pair Support
G = Guardian Support

O = Feature Supported
X = Feature Not Supported
? = Unknown support

T K W G
-------------------------
Chez O O O O
PLT O O Box Finalizers
Ikarus O X X X
MIT O O O ?
Larceny O X X ?
Chicken O ? Box Finalizers
Chibi O ? ? Finalizers
Gambit O O O O *
Guile O O O O *
Iron O X X X
SISC O O ? ?
Mosh O X X X
S9FES X X X X
SCM O ? ? ?
S48 O ? ? ?
Stalin ? ? ? ?
Wraith ? ? FObjs ?
Ypsilon O ? ? ?

I would greatly appreciate any help in filling out the rest of this
table.

Aaron W. Hsu

Nils M Holm

unread,
Jun 2, 2010, 12:41:33 AM6/2/10
to
Aaron W. Hsu <arc...@sacrideo.us> wrote:
> T K W G
> -------------------------
> [...]

> S9FES X X X X

S9fES does have hash tables, although I have just seen that they
are not included in the default heap image, so until the next
release they will have to be loaded with

(load-from-library "hash-table.scm")

There are no weak hash tables, weak pairs, or guardians, though.

--
Nils M Holm | http://t3x.org

marcomaggi

unread,
Jun 2, 2010, 1:59:42 AM6/2/10
to
On Jun 1, 10:01 pm, "Aaron W. Hsu" <arcf...@sacrideo.us> wrote:
>
>         T       K       W       G
>         -------------------------
> Ikarus  O       X       X       X

Ikarus implements guardians[1] and it exports a WEAK-CONS function
from the (ikarus) library (it is undocumented and I never tried it).

[1] <http://marcomaggi.github.com/docs/ikarus.html#ikaruslib-
guardians>

> Ypsilon O       ?       ?       ?

Ypsilon exports MAKE-WEAK-HASHTABLE and other MAKE-WEAK-* bindings,
they are undocumented AFAICT.
--
Marco Maggi

0 new messages