Re: What do you LISPers think of Haskell?
- From: Kaz Kylheku <kkylheku@xxxxxxxxx>
- Date: Sat, 20 Sep 2008 01:43:25 +0000 (UTC)
On 2008-09-20, Jon Harrop <jon@xxxxxxxxxxxxxxxxx> wrote:
Scott wrote:
Using processes, calling exit(0) is a really great garbage collector.
Arguably faster than any other mechanism.
Not if unnecessary copying incurs swap.
I doubt there are many shared data structures between tabs on a web
browser, so I think your copying argument is a lark in this case.
IME browser tabs often contain many pages from the same site which will,
inevitably, share a huge amount of data like images and flash animations.
Given that such data forms the majority of data, I'd expect there to be a
lot of scope for sharing data between tabs.
At least on unix-like OS, you have copy-on-write cloning of the same process
via fork. If a browser tab is created using fork, but without exec'ing a new
process image in the child, the child inherits the parent's data quite cheaply.
One thing you do want is that new cache entries introduced by one tab should be
available to the other tabs. There are some obvious ways to do that, like using
shared memory for volatile caches.
.
- References:
- Re: What do you LISPers think of Haskell?
- From: Jon Harrop
- Re: What do you LISPers think of Haskell?
- From: Vend
- Re: What do you LISPers think of Haskell?
- From: Jon Harrop
- Re: What do you LISPers think of Haskell?
- From: John Thingstad
- Re: What do you LISPers think of Haskell?
- From: Vend
- Re: What do you LISPers think of Haskell?
- From: Ali
- Re: What do you LISPers think of Haskell?
- From: Vend
- Re: What do you LISPers think of Haskell?
- From: Michael Schuerig
- Re: What do you LISPers think of Haskell?
- From: Jon Harrop
- Re: What do you LISPers think of Haskell?
- From: Scott
- Re: What do you LISPers think of Haskell?
- From: Jon Harrop
- Re: What do you LISPers think of Haskell?
- Prev by Date: Re: Seinfeld [Was: Coding challenge! non-destructuve matrix transpose]
- Next by Date: Re: What do you LISPers think of Haskell?
- Previous by thread: Re: What do you LISPers think of Haskell?
- Next by thread: Re: What do you LISPers think of Haskell?
- Index(es):
Relevant Pages
|