From: David Leimbach <leimy2k@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] How would you go about implementing this in Plan9?
Date: Fri, 10 Dec 2010 07:52:01 -0800 [thread overview]
Message-ID: <AANLkTi=hybiy0R5B_aKzttmbXGk=faQYbF37KyGsTe0O@mail.gmail.com> (raw)
In-Reply-To: <7a892f212376bb182f0c323f8ec320e1@terzarima.net>
[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]
On Fri, Dec 10, 2010 at 2:30 AM, Charles Forsyth <forsyth@terzarima.net>wrote:
> >On a system that supports dynamic linking this is trivial.
>
> it's usually error prone, for instance there's no type checking,
> and dangerous: the main application crashes each time a plug-in blows a
> fuse,
> because dynamically loaded things are simply read in to the same protection
> domain.
>
Which is why Google's Chrome runs different tabs in different contexts, to
help prevent bringing down the whole browser due to plugin fragility.
>
> in your particular applications, on modern hardware, i shouldn't think
> have trouble with the overhead of connecting separate processes,
> especially the instant messenger one, but with care in design the
> mediaplayer should work too. after all, in both cases you can't
> send faster than the network, and in the latter you can't display
> faster than humans can see it, so there's quite a bit of slack.
> the main problem in the latter is maintaining a steady flow
> (the EDF scheduling might help you there).
>
The multi-process/service approach makes better use of multiple cores in an
OS than a traditional plugin architecture might with a single thread of
execution.
>
> having said that, plan 9's loader has got support for creating dynamically
> loaded things,
> with type checking. there's a supporting library that provides a reasonable
> interface to it, but that's not part of the distribution.
> if there's not already a copy somewhere i'll dig it out again.
>
> Pretty interesting :-)
[-- Attachment #2: Type: text/html, Size: 2200 bytes --]
next prev parent reply other threads:[~2010-12-10 15:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-10 9:34 Eugene Gorodinsky
2010-12-10 9:46 ` Lucio De Re
2010-12-10 9:58 ` hiro
2010-12-10 9:46 ` hiro
2010-12-10 10:01 ` Lucio De Re
2010-12-10 10:30 ` Charles Forsyth
2010-12-10 11:21 ` Eugene Gorodinsky
2010-12-11 1:43 ` Nathaniel W Filardo
2010-12-11 19:02 ` Eugene Gorodinsky
2010-12-10 15:52 ` David Leimbach [this message]
2010-12-10 20:01 ` Eugene Gorodinsky
2010-12-10 20:33 ` Federico G. Benavento
2010-12-11 19:01 ` Eugene Gorodinsky
2010-12-10 11:47 ` Federico G. Benavento
2010-12-10 13:23 ` erik quanstrom
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='AANLkTi=hybiy0R5B_aKzttmbXGk=faQYbF37KyGsTe0O@mail.gmail.com' \
--to=leimy2k@gmail.com \
--cc=9fans@9fans.net \
/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).