September 22, 2009
Leandro Lucarella:

> I was unable
> to find any real programs (suitable for a GC benchmarks at least) for
> D that are properly maintained except Dil,

Have you tried Blaze?

Bye,
bearophile
September 23, 2009
bearophile, el 22 de septiembre a las 07:28 me escribiste:
> Leandro Lucarella:
> 
> > I was unable
> > to find any real programs (suitable for a GC benchmarks at least) for
> > D that are properly maintained except Dil,
> 
> Have you tried Blaze?

Blaze is an engine AFAIK, not a program. And an engine to build games AFAIK, and game aren't usually a good candidate for benchmarking since they can't be automated.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
VECINOS RESCATARON A CABALLITO ATROPELLADO
	-- Crónica TV
September 23, 2009
Leandro Lucarella:

> Blaze is an engine AFAIK, not a program. And an engine to build games AFAIK, and game aren't usually a good candidate for benchmarking since they can't be automated.

Blaze is a program that simulates 2D physics written in D.
http://www.dsource.org/projects/blaze
It's an engine, but it comes with an extensive demo that is and can be used as benchmark. So I think it can be used for your purposes (but I don't know how many memory allocations it performs).

Bye,
bearophile
September 23, 2009
On Wed, Sep 23, 2009 at 11:58 AM, bearophile <bearophileHUGS@lycos.com> wrote:
> Leandro Lucarella:
>
>> Blaze is an engine AFAIK, not a program. And an engine to build games AFAIK, and game aren't usually a good candidate for benchmarking since they can't be automated.
>
> Blaze is a program that simulates 2D physics written in D.
> http://www.dsource.org/projects/blaze
> It's an engine, but it comes with an extensive demo that is and can be used as benchmark. So I think it can be used for your purposes (but I don't know how many memory allocations it performs).

It performs *way too fucking many*. ;) Which, I suppose, would make it a good GC benchmark.
September 23, 2009
Jarrett Billingsley, el 23 de septiembre a las 12:03 me escribiste:
> On Wed, Sep 23, 2009 at 11:58 AM, bearophile <bearophileHUGS@lycos.com> wrote:
> > Leandro Lucarella:
> >
> >> Blaze is an engine AFAIK, not a program. And an engine to build games AFAIK, and game aren't usually a good candidate for benchmarking since they can't be automated.
> >
> > Blaze is a program that simulates 2D physics written in D.
> > http://www.dsource.org/projects/blaze
> > It's an engine, but it comes with an extensive demo that is and can be
> > used as benchmark. So I think it can be used for your purposes (but
> > I don't know how many memory allocations it performs).
> 
> It performs *way too fucking many*. ;) Which, I suppose, would make it a good GC benchmark.

I'll take a look at the demos then, thanks for the tips.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Aprendan de la primavera, que antecede al verano, precede al inverno y
no lo anda diciendo por ahí.
	-- Ricardo Vaporeso. Llanos de Luzuriaga, 1914.
September 23, 2009
On Wed, 23 Sep 2009 20:03:47 +0400, Jarrett Billingsley <jarrett.billingsley@gmail.com> wrote:

> On Wed, Sep 23, 2009 at 11:58 AM, bearophile <bearophileHUGS@lycos.com> wrote:
>> Leandro Lucarella:
>>
>>> Blaze is an engine AFAIK, not a program. And an engine to build games
>>> AFAIK, and game aren't usually a good candidate for benchmarking since
>>> they can't be automated.
>>
>> Blaze is a program that simulates 2D physics written in D.
>> http://www.dsource.org/projects/blaze
>> It's an engine, but it comes with an extensive demo that is and can be used as benchmark. So I think it can be used for your purposes (but I don't know how many memory allocations it performs).
>
> It performs *way too fucking many*. ;) Which, I suppose, would make it
> a good GC benchmark.

A game engine that does *any* allocations per frame?
My employee would kill me for writing something like that!
September 23, 2009
On Wed, 23 Sep 2009 20:03:47 +0400, Jarrett Billingsley <jarrett.billingsley@gmail.com> wrote:

> On Wed, Sep 23, 2009 at 11:58 AM, bearophile <bearophileHUGS@lycos.com> wrote:
>> Leandro Lucarella:
>>
>>> Blaze is an engine AFAIK, not a program. And an engine to build games
>>> AFAIK, and game aren't usually a good candidate for benchmarking since
>>> they can't be automated.
>>
>> Blaze is a program that simulates 2D physics written in D.
>> http://www.dsource.org/projects/blaze
>> It's an engine, but it comes with an extensive demo that is and can be used as benchmark. So I think it can be used for your purposes (but I don't know how many memory allocations it performs).
>
> It performs *way too fucking many*. ;) Which, I suppose, would make it
> a good GC benchmark.


A game engine that does *any* allocations per frame?
My employer would kill me for writing something like that!
September 23, 2009
Denis Koroskin wrote:
> On Wed, 23 Sep 2009 20:03:47 +0400, Jarrett Billingsley <jarrett.billingsley@gmail.com> wrote:
> 
>> On Wed, Sep 23, 2009 at 11:58 AM, bearophile <bearophileHUGS@lycos.com> wrote:
>>> Leandro Lucarella:
>>>
>>>> Blaze is an engine AFAIK, not a program. And an engine to build games
>>>> AFAIK, and game aren't usually a good candidate for benchmarking since
>>>> they can't be automated.
>>>
>>> Blaze is a program that simulates 2D physics written in D.
>>> http://www.dsource.org/projects/blaze
>>> It's an engine, but it comes with an extensive demo that is and can be used as benchmark. So I think it can be used for your purposes (but I don't know how many memory allocations it performs).
>>
>> It performs *way too fucking many*. ;) Which, I suppose, would make it
>> a good GC benchmark.
> 
> A game engine that does *any* allocations per frame?
> My employee would kill me for writing something like that!

You have no idea how many professional game companies write sloppy code, they're not all over-optimizing code zealots like Carmack :)

EA is notoriously good for that, but they do spend 3x as much on marketing as they do on development so go figure. Their games run way slower at medium settings than games by, say Blizzard, would at high settings.
September 25, 2009
Jeremie Pelletier Wrote:

> I forked the original D1 gc and rewrote it almost entirely.

Did you try to address bug 2093?
September 25, 2009
Kagamin wrote:
> Jeremie Pelletier Wrote:
> 
>> I forked the original D1 gc and rewrote it almost entirely.
> 
> Did you try to address bug 2093?

I just did a quick compile of the bug's test case and it worked correctly.

I wasn't even aware of that bug to tell the truth.