Re: What do you LISPers think of Haskell?



On 11 Set, 11:09, Jon Harrop <j...@xxxxxxxxxxxxxxxxx> wrote:
John Thingstad wrote:
In fact overflows and heap management are two of the most over-hyped
criticisms in C++ development. I have to go back to 80's to see the last
time this was a serious issue. Similarly the first fit heap management
scheme is long dead. Heap fragmentation is less of a problem.

You obviously haven't been reading the news:

Google's new web browser Chrome is written in C++. A buffer overrun security
vulnerability was found in it 6 days ago:

http://julianrdz.wordpress.com/2008/09/05/google-chrome-buffer-overfl...

Avoiding heap fragmentation in concurrent C++ was a major problem for
Google:

http://www.google.com/googlebooks/chrome/small_04.html

I'm a bit skeptical about the claim that heap fragmentation can be a
significant problem in a web browser.

My cynical guess is that Google realized that their browser was so
prone to crashes and glitches that they decided to split it in several
processes as a form of "damage control".

Heap fragmentation has been a headache for Mono since its inception:

http://www.mono-project.com/Compacting_GC

--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.http://www.ffconsultancy.com/?u

.



Relevant Pages

  • Re: Memory management terminology
    ... and let's assume that heap fragmentation is not the problem. ... a particual allocation pattern run OOM the machine even if there ... not on any smaller or larger chunk of memory. ...
    (microsoft.public.vc.language)
  • Re: GC performance - GC fragility
    ... Think of a native heap which has ... I haven't tested FMM regarding heap fragmentation. ... You seem to have more clue than I have and since I haven't studied FastMM source code could you shed some light on the problem how a native heap can prevent fragmentation, ...
    (borland.public.delphi.non-technical)
  • Re: CString mess HEAP in long running programs ?
    ... What kind of HEAP problem are you thinking about? ... For HEAP corruptions, the class CString alone used correctly will cause ... For HEAP fragmentation, generic C++ code that uses a lot of allocations ...
    (microsoft.public.vc.language)
  • Re: GC performance - GC fragility
    ... Think of a native heap which has ... 1000 entries of the type: ... {it's called heap fragmentation} ...
    (borland.public.delphi.non-technical)