www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Looking for GC intensive D programs

reply "rsw0x" <anonymous anonymous.com> writes:
Does anyone know of any GC intensive D programs that can 
preferably be ran with little to no setup?
Jun 27 2015
next sibling parent reply "deadalnix" <deadalnix gmail.com> writes:
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
I'm not sure what you mean by GC intensive. Most of high perf D programs would have been optimized to reduce GC usage to begin with.
Jun 28 2015
parent reply "rsw0x" <anonymous anonymous.com> writes:
On Sunday, 28 June 2015 at 22:29:22 UTC, deadalnix wrote:
 On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
I'm not sure what you mean by GC intensive. Most of high perf D programs would have been optimized to reduce GC usage to begin with.
this is precisely the issue I'm having finding any GC intensive D programs.
Jun 28 2015
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 06/28/2015 06:37 PM, rsw0x wrote:
 On Sunday, 28 June 2015 at 22:29:22 UTC, deadalnix wrote:
 I'm not sure what you mean by GC intensive. Most of high perf D
 programs would have been optimized to reduce GC usage to begin with.
this is precisely the issue I'm having finding any GC intensive D programs.
Just port something from Java ;)
Jun 28 2015
parent Jacob Carlborg <doob me.com> writes:
On 29/06/15 01:40, Nick Sabalausky wrote:

 Just port something from Java ;)
Yeah, SWT is already ported as DWT [1]. [1] https://github.com/d-widget-toolkit/dwt -- /Jacob Carlborg
Jun 29 2015
prev sibling next sibling parent reply "Nikolay" <sibnick gmail.com> writes:
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
I think you can use big text file and Word Count sample from official site: http://dlang.org/wc.html
Jun 28 2015
parent reply "rsw0x" <anonymous anonymous.com> writes:
On Monday, 29 June 2015 at 04:09:19 UTC, Nikolay wrote:
 On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
I think you can use big text file and Word Count sample from official site: http://dlang.org/wc.html
Sorry, should have been a bit more clear. I'm looking for real world D programs to help collect statistics. At the moment I'm using Higgs but I'm pretty sure a lot of effort has gone into avoiding the GC in Higgs.
Jun 28 2015
parent "thedeemon" <dlang thedeemon.com> writes:
On Monday, 29 June 2015 at 04:19:04 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
Sorry, should have been a bit more clear. I'm looking for real world D programs to help collect statistics.
Here's mine, although it hasn't been updated for a year: https://bitbucket.org/infognition/undup It creates a lot of small objects in GC heap when it makes a drive scan. Due to some conservativeness of D GC and interlinkedness of object graph in this program, GC couldn't free memory properly and I had to make the process restart after user ends working with one set of data (drive scan) and returns to main window. It's a GUI tool for Windows, you won't build it on other OSs. Works fine in Wine on Linux though.
Jun 28 2015
prev sibling next sibling parent "ZombineDev" <valid_email he.re> writes:
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
DDMD :D You would have to do some digging to get it working with the GC, but a combined compilation of phobos + some CTFE heavy project (eg something that uses ctRegex a lot) would be highly stressful to any GC.
Jun 29 2015
prev sibling next sibling parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation.
Jun 29 2015
parent reply "rsw0x" <anonymous anonymous.com> writes:
On Monday, 29 June 2015 at 09:35:08 UTC, John Colvin wrote:
 On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation.
The problem with benchmarks optimized for D is that they generally make little to no allocations, which makes them a bad candidate for memory allocation statistics.
Jun 29 2015
parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Monday, 29 June 2015 at 21:53:37 UTC, rsw0x wrote:
 On Monday, 29 June 2015 at 09:35:08 UTC, John Colvin wrote:
 On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation.
The problem with benchmarks optimized for D is that they generally make little to no allocations, which makes them a bad candidate for memory allocation statistics.
If you take a look at the code you'll see that they often allocate like crazy.
Jun 30 2015
prev sibling parent "Abdulhaq" <alynch4047 gmail.com> writes:
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote:
 Does anyone know of any GC intensive D programs that can 
 preferably be ran with little to no setup?
I remember Maxime said that the Higgs compiler was gc intensive https://github.com/higgsjs/Higgs
Jun 29 2015