Unique Object ref?
Lex Spoon
lex at cc.gatech.edu
Mon Jul 10 12:19:31 UTC 2000
Johan Fabry <johan.fabry at vub.ac.be> wrote:
> Given the fact that oops change, I just wrote my own simple mechanism...
>
Yeah, you're probably gonna be stuck writing your own registry of
objects. When an object goes out, you just put it in a table and assign
it an ID.
The immediate question that comes up is, when does an entry get
*removed* from the table? Isn't a pain to handle the distributed memory
allocation? Yes, it is, but in fact you have to face this problem
anyway, and most solutions will involve *some* sort of registry anyway.
Good luck. Last time I worked on a distributed object system, I just
didn't clear the tables, and didn't run any demos long enough that
memory ran out. It was okay for demos. :)
-Lex
More information about the Squeak-dev
mailing list
|