unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* The order of objects returned from a guardian
@ 2005-07-26 23:33 Marius Vollmer
  2005-07-27  0:42 ` 64bit guile: one bug found, one improvement suggested Roland Orre
  2005-07-28 22:37 ` The order of objects returned from a guardian Neil Jerram
  0 siblings, 2 replies; 5+ messages in thread
From: Marius Vollmer @ 2005-07-26 23:33 UTC (permalink / raw)


Hi,

Guile's guardians currently make the guarantee that "it is impossible
for a guardian to return a 'contained' object before its 'containing'
object."

I am considering removing this guarantee since it makes it impossible
for guardians to deal with cycles among guarded objects, and because
it is not part of the semantics of guardians as proposed in the paper
by Dybvig et al[1].

So, do you rely on this ordering guarantee?

If you do, you would need to take care of the ordering yourself, which
is quite easy by keeping objects alive in a global data structure
until they are no longer needed.

[1] ftp://ftp.cs.indiana.edu/pub/scheme-repository/doc/pubs/guardians.ps.gz
-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-31 21:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 23:33 The order of objects returned from a guardian Marius Vollmer
2005-07-27  0:42 ` 64bit guile: one bug found, one improvement suggested Roland Orre
2005-07-28 22:37 ` The order of objects returned from a guardian Neil Jerram
2005-07-31 19:31   ` Marius Vollmer
2005-07-31 21:25     ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).