Re: D for the Win

2014-08-24 Thread Mike via Digitalmars-d-announce
On Sunday, 24 August 2014 at 09:24:55 UTC, Jacob Carlborg wrote: On 2014-08-24 10:53, bearophile wrote: Dicebot: In reddit thread one of commenters complained about D performance and linked this benchmark : That benchmark found a small performance bug in ldc2, that I reported, but I

Re: D for the Win

2014-08-24 Thread ketmar via Digitalmars-d-announce
On Sun, 24 Aug 2014 12:51:10 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: ps. 6. This change (https://github.com/nsf/pnoise/commit/baadfe20c7ae6aa900cb0e4188aa9d20bea95918) with GDC has no effect at all. signature.asc Description: PGP signature

Re: D for the Win

2014-08-24 Thread Mike via Digitalmars-d-announce
On Sunday, 24 August 2014 at 13:13:58 UTC, ketmar via Digitalmars-d-announce wrote: On Sun, 24 Aug 2014 12:51:10 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: ps. 6. This change

Re: D for the Win

2014-08-24 Thread bearophile via Digitalmars-d-announce
Mike: Then I add change only #6 above, and remove the excessive function attributes, Maybe I'll make a pull request for it. I don't think users should have to decorate their code like a Christmas tree I don't agree, function attributes are not excessive, they are idiomatic in D. Bye,

Re: D for the Win

2014-08-24 Thread ketmar via Digitalmars-d-announce
On Sun, 24 Aug 2014 13:44:07 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: hm. for my GDC 4.9.1. git HEAD #6 has no effect at all. p.s. it's unfair to specify -msse3 -mfpmath=sse for gcc and not for gdc. gdc can use this flags too! (yeah, the effect is great:

Re: D for the Win

2014-08-24 Thread ketmar via Digitalmars-d-announce
On Sun, 24 Aug 2014 13:44:07 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: p.s. what i did is this: auto tm = Timer(); tm.start; foreach (; 0..100) { auto n2d = Noise2DContext(0); foreach (i; 0..100) { foreach (y; 0..256) { foreach

Re: D for the Win

2014-08-24 Thread Mike via Digitalmars-d-announce
On Sunday, 24 August 2014 at 14:04:22 UTC, ketmar via Digitalmars-d-announce wrote: On Sun, 24 Aug 2014 13:44:07 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: p.s. what i did is this: auto tm = Timer(); tm.start; foreach (; 0..100) { auto n2d =

Re: D for the Win

2014-08-24 Thread Mike via Digitalmars-d-announce
On Sunday, 24 August 2014 at 14:09:03 UTC, Mike wrote: I'm guessing the dependency is probably due to our configure/build of GDC. I'm using Arch Linux 64's default GDC from their repository. Perhaps it's configured in a way that has these optimizations on by default. It probably should.

Re: Fix #2529: explicit protection package #3651

2014-08-24 Thread Kagamin via Digitalmars-d-announce
On Sunday, 24 August 2014 at 02:22:41 UTC, Dicebot wrote: Well difference is that internal substring in the fully qualified name that is much more likely to tell user he is better to not touch it. However, original Kagamin proposal of embedding it into module names themselves does address that

Re: D for the Win

2014-08-24 Thread Iain Buclaw via Digitalmars-d-announce
On 24 Aug 2014 14:09, ketmar via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Sun, 24 Aug 2014 12:51:10 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: 5. Using C's floor instead of D's floor. - very significant (why?) gcc/clang

Re: D for the Win

2014-08-24 Thread ketmar via Digitalmars-d-announce
On Sun, 24 Aug 2014 16:16:43 +0100 Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: That's because floor isn't an intrinsic. The crippling speed issue was the fact that floor computed and returned at real precision. i'm testing on x86, and the difference

Re: D for the Win

2014-08-24 Thread Iain Buclaw via Digitalmars-d-announce
On 24 Aug 2014 16:26, ketmar via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Sun, 24 Aug 2014 16:16:43 +0100 Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: That's because floor isn't an intrinsic. The crippling speed issue

QTD upgrades to dmd 2.066.

2014-08-24 Thread Rémy Mouëza via Digitalmars-d-announce
I have made a fork of QTD, the Qt bindings for D, to get it to work with dmd 2.066: https://github.com/remy-j-a-moueza/qtd/tree/dmd-2.066 I have only made it to build on Linux (32 bit Ubuntu 14.04) with nearly no testing. I haven't updated the examples either, so lots of them are not

Re: QTD upgrades to dmd 2.066.

2014-08-24 Thread michaelc37 via Digitalmars-d-announce
On Sunday, 24 August 2014 at 20:27:59 UTC, Rémy Mouëza wrote: I have made a fork of QTD, the Qt bindings for D, to get it to work with dmd 2.066: https://github.com/remy-j-a-moueza/qtd/tree/dmd-2.066 I have only made it to build on Linux (32 bit Ubuntu 14.04) with nearly no testing. I