A smaller GC benchmark
Bruce Adams
tortoise_74 at yeah.who.co.uk
Fri Dec 14 11:54:40 PST 2007
On Mon, 10 Dec 2007 21:34:20 -0000, Robert Fraser
<fraserofthenight at gmail.com> wrote:
> bearophile wrote:
>> Robert Fraser:
>>> I've been wanting for a while to implement a different GC for D taking
>>> into account some of the stuff talked about in a few papers I read on
>>> non-moving GCs. IMO, D's GCs (Tango & Phobos) are pretty basic, they
>>> don't do any sort of sexy trickery.
>> I can see people in this newsgroup don't like to try to adapt already
>> written code. Is this some bad from of NIH (Not Invented Here)
>> syndrome? Maybe you can just take a 5-10-years old GC and adapt it, so
>> we can avoid other 10 years of development and have a better GC soon
>> (from your and other's comments I presume the Java GC can't be adapted
>> to D, but other GCs may be found).
>> Note that ShedSkin uses the Bohem GC:
>> http://www.hpl.hp.com/personal/Hans_Boehm/gc/
>> From various tests it seems faster than the Phobos GC. Can't it be
>> copied inside Phobos? It's well refined, well debugged, it doesn't
>> leak, it has something like ten years of development, articles written
>> on it, it's used often, etc. And it can be used from C too.
>> Bye,
>> bearophile
>
> I know it could be relatively easily plugged into Tango since Tango has
> a pluggable GC interface
I thought D in general was supposed to have a pluggable GC interface.
Isn't it
part of the language spec?
More information about the Digitalmars-d
mailing list