Re: GC performance - GC fragility



I am going to put up a followup post on my blog and then retire from the subject as it is taking up far too much of my time.

One of the problems I have had is that people have read more into my posts than I was trying to say (this may be my fault).

These are the things I am not trying to do/say:
I am not trying to say that the Boehm gc will make your delphi apps faster, leak or free.
I am not trying to do a Boehm GC is faster than FastMM competition.
I am not trying to suggest that any gc app is always, or even mostly faster, than than non gc
I am not suggesting that you should add the gc to your existing apps, or even that you should add it to your new apps.
I am not trying to suggest that a gc is perfect, or a better solution in all applications. I can think of several apps, from personal experience , where a gc is a very bad idea.

This is what I was trying to say in my first post:
o A gc has some advantages (expressiveness is the one I am interested in, some lifetime management issues are another)
o A gc has some disadvantages (mem use and performance are 2 that I mentioned)
o Here is a gc for delphi that I have found, have a look if you are interested.

In my second post, my wording should have clearer. I was trying to show that a gc app doesn't have to be slow simply because it as a gc. Given the unquestioning "gc = slow" attitude of many people, I felt a test was needed. I wasn't trying to have a performance bake off which is what it devolved into.

The actual speed of the memory manager is irrelevant to me, and I suspect to most people. I am interested in the speed of the application itself, of which the mm is a part. In my testing, in my usage, the speed differential was not big enough for it to be a major decision factor. But caveats do apply and though testing would be needed before leaping headlong into using gc in a language that doesn't have it.

In my dream world, delphi has a high performance gc (the boehm one is not high performance, it has other design goals such as portability) and people use it or not as the job requires. Maybe Pierre could do it. I won't ask him though.

In the real world, all I wanted to do is raise the profile of gcs in delphi and see if I can get some interest.

My final word of the subject, and then I will actually do the things I am supposed to be doing.

To dismiss garbage collectors as "hideously slow" and thus useless is not helpful or informative. If correct (and it is correct in SOME situations but not ALL situations) then it disqualifies using a gc in SOME roles but not ALL roles.

What is helpful is discussion on when a gc is or isn't appropriate.


Sean
---------------------------------------
Sean Cross
mailto:sean@xxxxxxxxxxxxxxxxxxxx

Pics Print - The photo printing solution for Windows. http://www.picsprint.com
Rental Property Manager - Rental management made easy http://www.sourceitsoftware.com
Blog: http://sourceitsoftware.blogspot.com/
.



Relevant Pages

  • Re: Future of Dolphin
    ... Bill Schwab wrote: ... Develop high complexity server applications in record time (smalltalk development time), then deploy to the server of your choice to attain high speed compiled C performance. ... Data mining apps, A.I and machine learning apps, real time trading apps, homeland security apps, pattern recognition, fraud detection, facial recognition, phone call and IP traffic switching/routing, etc. ...just to name a few. ... A company I have done work for could use this right now and would probably be willing to pay up for a high performance platform independent version. ...
    (comp.lang.smalltalk.dolphin)
  • Re: [fw-wiz] Palo Alto Networks
    ... We would only be looking at one unit so management shouldn't be an issue. ... You mentioned "home grown apps" and giving them a definition, this will hopefully all be clear once I have a units GUI in front of me, but presumably if you need/want it to the PA boxes can also act as dumb stateful firewalls i.e. "Simply allow port XYZ from X to Y"? ... As a general question, what strategies are people taking these days regards "layering" firewalls? ... good application detection engine. ...
    (Firewall-Wizards)
  • Re: Relocate MSDE 2000 database?
    ... Do you really think it is wise to upgrade these databases independent of the ... If I were to upgrade the SQL server behind these apps, ... Except "SQL Server Web Data Administrator" which looks like I have to ... as regard a management tool for MSDE, ...
    (microsoft.public.sqlserver.msde)
  • Re: How to Set Workspace in Session Startup of OpenOffice.org, Firefox, Thunderbird
    ... >window manager by default) requires apps to have working session management. ...
    (Fedora)
  • Blog-enable your Office application
    ... sample code that let's you more easily put programmatic blog access in your ... Using this DLL in your VSTO 2005 apps makes including blogs in your ...
    (microsoft.public.vsnet.vstools.office)

Loading