9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] vfork and paging
Date: Tue,  2 Oct 2001 19:51:15 +0100	[thread overview]
Message-ID: <20011002183911.5DBE8199ED@mail.cse.psu.edu> (raw)

> I think the way acme (and later rio) manages the resources for the client
> connections - the Xfid data type and control described in the acme paper
> - is one of the best ideas I ever had.  Dynamic channels roll!

the difficult part is flushing, of course.

i've had happy experiences using procs and channels for managing
animations in a card game program where any number of cards can be
flying around the place concurrently in response to network events,
the user continues to interact at the same time, and the internal
database must be kept consistent.

it uses processes in a way that in other systems would be considered
profligate (one process for each animation plus one for each
destination) but performance is just fine, even on slower processors
(e.g.  on the ipaq).

and whereas such a system built in a conventional style would probably
be highly fragile and involve some quite difficult state transitions,
this is robust and it would be trivial to add some more interesting
kinds of animations (e.g.  dice rolling) without impacting the
complexity of any of the rest of the system.

in fact, i *tried* to implement such a system on another system
(NeXTstep) and failed; too much complexity all at once.

  rog.



             reply	other threads:[~2001-10-02 18:51 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 18:51 rog [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-19 21:03 David Gordon Hogan
2001-10-04 16:29 forsyth
2001-10-04 14:09 rog
2001-10-04 10:17 Richard Miller
2001-10-03 10:16 rog
2001-10-03 10:31 ` Boyd Roberts
2001-10-03  9:49 forsyth
2001-10-03 10:52 ` Boyd Roberts
2001-10-03 13:55 ` Borja Marcos
2001-10-03 14:23   ` Ronald G Minnich
2001-10-02 21:05 forsyth
2001-10-02 19:25 rob pike
2001-10-02 18:05 Russ Cox
2001-10-02 15:56 rob pike
2001-10-02 15:39 rog
2001-10-03  7:38 ` Boyd Roberts
2001-10-02 15:27 Fco.J.Ballesteros
2001-10-02 14:37 Sape Mullender
2001-10-02 14:31 rog
2001-10-02 14:29 presotto
2001-10-02 14:12 rog
2001-10-02 13:48 Sape Mullender
2001-10-02 13:47 rob pike
2001-10-02 13:42 Sape Mullender
2001-10-01 14:06 rob pike
2001-10-01 15:42 ` Douglas A. Gwyn
2001-10-01 14:01 forsyth
2001-10-01 12:21 rob pike
2001-10-02  8:27 ` Boyd Roberts
2001-10-02 13:34   ` Ronald G Minnich
2001-10-01 10:45 forsyth
2001-10-01 10:59 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011002183911.5DBE8199ED@mail.cse.psu.edu \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).