GDCs emitted code is crazy fast

2019-08-18 Thread James Blachly via D.gnu
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 all my code yet as GDC 8.3.0 doesn't include support for assoc a

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-18 Thread James Blachly via D.gnu
On 8/18/19 11:20 AM, James Blachly wrote: ../intervaltree/.dub/build/library-release-debug-linux.posix-x86_64-gdc_2068-CAF4B0AA644EFF0EF2E4C805B972A804/libintervaltree.a:(minfo+0x20): multiple definition of `_D12intervaltree7avltree11__moduleRefZ' /tmp/ccNVyy2Z.o:(minfo+0xe0): first defined here

Re: Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.

2019-08-18 Thread James Blachly via D.gnu
On 8/6/19 7:45 AM, Stefanos Baziotis wrote: Hello everyone, I just installed GDC with sudo apt-get install gdc and I can't compile a simple hello world program. I get e.g. static foreach errors: I also have just installed GDC via apt on Ubuntu18 and cannot compile my codebase (via dub build