Re: GDCs emitted code is crazy fast

2019-08-19 Thread James Blachly via D.gnu
On 8/19/19 4:02 AM, Daniel Kozak wrote: On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: I hope that there are plans for convenient binary installs (rather than through package managers which tend to be outdated, and cannot be installed on managed systems) as there are with DMD a

Re: GDCs emitted code is crazy fast

2019-08-19 Thread James Blachly via D.gnu
On 8/19/19 3:59 AM, Daniel Kozak wrote: It is possible, to share your code, so any one else could try why is gdc faster than ldc? From what I can say, there is almost always a way to make ldc as fast as gdc (sometimes you need to pass some specific args to cimpiler or tweak a code a little bit)

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Iain Buclaw via D.gnu
On Mon, 19 Aug 2019 at 15:30, Daniel Kozák via D.gnu wrote: > > On Monday, 19 August 2019 at 10:54:09 UTC, Iain Buclaw wrote: > > > > Optimal code sometimes needs a bit of coercing. You shouldn't > > need to pass weird options though. > > Yes I agree, generaly one is good with -O and -(f)release

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Daniel Kozák via D.gnu
On Monday, 19 August 2019 at 10:54:09 UTC, Iain Buclaw wrote: Optimal code sometimes needs a bit of coercing. You shouldn't need to pass weird options though. Yes I agree, generaly one is good with -O and -(f)release and sometimes with disable boundscheking, but with ldc there has been som

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Iain Buclaw via D.gnu
On Mon, 19 Aug 2019 at 05:50, James Blachly via D.gnu wrote: > > I got around to finally compiling my project (processing high throughput > sequencing data) and found GDC compiled code executed TWICE as fast as > LDC compiled code, which itself was faster than DMD. I am truly surprised. > > Can't

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Iain Buclaw via D.gnu
On Mon, 19 Aug 2019 at 10:00, Daniel Kozak via D.gnu wrote: > > On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: > > I got around to finally compiling my project (processing high > > throughput sequencing data) and found GDC compiled code > > executed TWICE as fast as LDC compiled c

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Daniel Kozak via D.gnu
On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: I hope that there are plans for convenient binary installs (rather than through package managers which tend to be outdated, and cannot be installed on managed systems) as there are with DMD and LDC. Kudos to the GDC team. which

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Daniel Kozak via D.gnu
On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: I got around to finally compiling my project (processing high throughput sequencing data) and found GDC compiled code executed TWICE as fast as LDC compiled code, which itself was faster than DMD. I am truly surprised. Can't test