September 01, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>
> * Based on D 2.074.1.
> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
> * Full Android support, incl. emulated TLS.
> * Improved support for AddressSanitizer and libFuzzer. The libraries are shipped with the prebuilt Linux x86_64 and OSX packages.
> * Prebuilt Linux x86_64 package shipping with LTO plugin, catching up with the OSX package.
>
> Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.4.0-beta1
>
> Thanks to everybody contributing!

Just noticed this on proggit:

https://www.reddit.com/r/programming/comments/6wm6d0/ldc_140beta1_the_llvm_d_compiler_adds_tons_of_new/
September 02, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:

Hello!

> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>
> * Based on D 2.074.1.

Is it possible to build LDC based on D 2.076 with latest -betterC feature?

September 02, 2017
On Saturday, 2 September 2017 at 09:59:42 UTC, Igor Shirkalin wrote:
> On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
>
> Hello!
>
>> Hi everyone,
>>
>> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>>
>> * Based on D 2.074.1.
>
> Is it possible to build LDC based on D 2.076 with latest -betterC feature?

No, we're still ironing out 2.075.

https://github.com/ldc-developers/ldc/pull/2252
https://github.com/ldc-developers/ldc/pull/2273

September 10, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>

The following code compiles on DMD, but not on LDC (tested versions 1.3.0 and the 1.4.0 beta).

unittest
{
    import std.array : appender;
    import std.format : formattedWrite;

    auto x = appender!(string);
    typeof(x) y;

    formattedWrite(y, "%2s", [0, 1]);
    assert(y.data == "[ 0,  1]");
}
September 11, 2017
On Sunday, 10 September 2017 at 16:25:52 UTC, jmh530 wrote:
> The following code compiles on DMD, but not on LDC (tested versions 1.3.0 and the 1.4.0 beta).
>
> unittest
> {
>     import std.array : appender;
>     import std.format : formattedWrite;
>
>     auto x = appender!(string);
>     typeof(x) y;
>
>     formattedWrite(y, "%2s", [0, 1]);
>     assert(y.data == "[ 0,  1]");
> }

There's a difference between "doesn't compile" and "asserts".
Please always compare to the matching DMD version, 2.074.1 in this case, which produces an empty string as well, I guess because the writer was taken by value in Phobos 2.074.1.
September 11, 2017
On Monday, 11 September 2017 at 14:49:44 UTC, kinke wrote:
>
> There's a difference between "doesn't compile" and "asserts".
> Please always compare to the matching DMD version, 2.074.1 in this case, which produces an empty string as well, I guess because the writer was taken by value in Phobos 2.074.1.

Fair point on the DMD versioning. I think I was only using the most recent DMD. I had thought this capability was added in 2.074.0 when the CT string feature was added, but the changelogs only reference formattedRead, not formattedWrite.

https://dlang.org/changelog/2.074.0.html#std-format-formattedRead

I don't know when it was actually added.
1 2
Next ›   Last »