Re: [9fans] How would you go about implementing this in Plan9?



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@xxxxxxxxx>



On Fri, Dec 10, 2010 at 2:30 AM, Charles Forsyth <forsyth@xxxxxxxxxxxxx>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 :-)


Relevant Pages

  • Re: google chrome is not the same
    ... log in to chrome and one to fb and I forget the other. ... Before each time I opened a tab it offered all 8 ... most visited site icons and at the foot of the page I also have the option ... Laura ...
    (uk.media.radio.archers)
  • Re: google chrome is not the same
    ... Now it has 3 icons, ... log in to chrome and one to fb and I forget the other. ... Before each time I opened a tab it offered all 8 ... I go to settings and then click on "use current pages". ...
    (uk.media.radio.archers)
  • Re: Googles got a new browser
    ... Chrome you jam up one tab the others still work. ... My puny linux laptop can keep an amazing ... number of applications open at one time, without the app -that I am ...
    (alt.gathering.rainbow)
  • Re: Excessive file size
    ... There are a number of reasons for excessive file size, ... Disable this at on the Save tab of Tools | Options. ... accept or reject all changes, then turn Track Changes ... Word MVP FAQ site: http://word.mvps.org ...
    (microsoft.public.word.docmanagement)
  • Re: chrome questions
    ... However, Chrome takes forever and a day to start up, because it tries to ... refresh every tab at once, and there's not enough memory for that (I'm ... crazy and drives the load up over 20. ... , then resumes them one at a time, waiting each time ...
    (comp.os.linux.networking)