From: Eugene Gorodinsky <e.gorodinsky@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 22:01:56 +0200 [thread overview]
Message-ID: <AANLkTikU2tj_U5jdDqxJQttOo0YVQR9wdnh6Kb0hudGh@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=hybiy0R5B_aKzttmbXGk=faQYbF37KyGsTe0O@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1845 bytes --]
There's a lot more reasons for using one tab = one process approach. For
chrome it really is a bargain. But for a non-browsing application it might
not be so.
2010/12/10 David Leimbach <leimy2k@gmail.com>
>
>
> 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: 2718 bytes --]
next prev parent reply other threads:[~2010-12-10 20:01 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
2010-12-10 20:01 ` Eugene Gorodinsky [this message]
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=AANLkTikU2tj_U5jdDqxJQttOo0YVQR9wdnh6Kb0hudGh@mail.gmail.com \
--to=e.gorodinsky@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).