LDC 0.12.0 has been released

simendsjo simendsjo at gmail.com
Wed Oct 23 06:46:22 PDT 2013


On Tuesday, 22 October 2013 at 22:32:45 UTC, David Nadlinger 
wrote:
> Hi everyone,
>
> The new LDC release 0.12.0 is here! Based on the 2.063.2 
> front-end
(...)

I tried it on some code, and get some strange results..

My code doesn't compile on dmd 2.063.2, but it does with ldc - 
how is this possible?
The failure that triggers dmd was the change from (T!A).stringof 
== "T!A" to "T!(A)" for single param templates. I cannot find the 
bug-report right now though..

Another issue is build times. I know dmd should be faster, but 4x 
faster..?

$ time dub build --build=unittest --compiler=dmd
3.48s user 0.45s system 99% cpu 3.941 total

$ time dub build --build=unittest --compiler=ldc2
12.07s user 0.37s system 99% cpu 12.446 total

And the resulting binary just hangs and doesn't use any resources.
It gets into the main method, but somewhere it just stops.

How can I help locate the error?


More information about the digitalmars-d-ldc mailing list