> Are you arguing for my option b) then? In which case actors don't have
> distinct identities, they are just part of the overall world?

Not necessarily as your option b) already gives implementation details
(using ids to find actors, etc.). I was mostly thinking out loud to
see if anything emerged. But certainly the idea of merging things
together makes my life (sometimes) easier.

> I'm probably leaning towards this option myself, though it seems a
> little uncomfortable that the solution boils down to "put everything
> in one big ref".

Where does the discomfort come from?

Mine would come from performance: if multiple actions are taken in
parallel on this universe, e.g. one or more actors 'acting' then
things will get ugly. Which brings me to this question:

If one mashes actors and the world together, is that effectively
saying that only one actor can act at a time? If so, then this might
not be what you want.


> Also, if you then create some kind of "multiverse" with multiple
> worlds then following the same logic you need to refactor everything
> to have one big ref for the multiverse with multiple worlds contained
> within it. i.e. it doesn't seem to compose neatly.......

It certainly does get more involved the minute you have several universes ...

U

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to