www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LDC 1.1.0-alpha1 has been released!

reply Kai Nacke <kai redstar.de> writes:
Hi everyone!

On behalf of the LDC team I am proud to announce the new 
1.1.0-alpha1 release!
It is based on the 2.071.1 front-end and supports LLVM 3.5-3.8.

This brand new alpha release contains a of of bug fixes and 
changes. Highlights are the support for profile-guided 
optimization and cross-module inlining. But there are lot of 
other changes - be sure to read the release notes!

We now bundle DUB with LDC in the binary distribution files. The 
Win64 binary packages now includes the 32bit libraries, too.

Please, try this alpha1 release. Every feedback we get can only 
improve the compiler. There are still some known bugs. Most 
important, use dub --compiler=ldmd2 on Windows to prevent a path 
naming problem.

Be sure to read the change log at the GitHub release page which 
also has the package download links:
https://github.com/ldc-developers/ldc/releases/tag/v1.1.0-alpha1

MD5 checksums for the release packages:

05ebe074f9b992175bb72254221e7622 ldc-1.1.0-alpha1-src.tar.gz
496468678bfea3d6ad6e230ac4dab495 
ldc2-1.1.0-alpha1-linux-armv7hf.tar.xz
332423f6a6d017bb5a96c7bc767442b5 
ldc2-1.1.0-alpha1-linux-x86.tar.xz
4b6662684bd570af4e106898ef06ab6d 
ldc2-1.1.0-alpha1-linux-x86_64.tar.xz
d92d7c2b8b7fe12bb8445731db04e042 
ldc2-1.1.0-alpha1-osx-x86_64.tar.xz
2294dca757cefa8803afa71e23e33752 ldc2-1.1.0-alpha1-win32-msvc.zip
41a7203f21c4f636b0d08c31c04e82f8 ldc2-1.1.0-alpha1-win64-msvc.zip

Regarding the binaries:
The Linux x86/x86_64 binaries are built on Ubuntu 12.04 LTS with 
gcc 4.8.x, ldc2 1.0.0 and LLVM 3.8.0. They work on Ubuntu 12.04 
LTS (or later) without installing additional software.
The Linux armv7hf binary is built on Gentoo/ARM with gcc 4.9.x, 
ldc2 ldc2 1.0.0 and LLVM 3.8.0.

The OS X binaries are built with LLVM 3.8.0 on OS X 10.10.

The Win32 and Win64 MSVC versions are built with VS2015 (update 
2) using ldc2 1.0.0 and LLVM trunk in release mode. The 
distribution now contains a precompiled libcurl 7.46.0 from 
http://d.darktech.org/libcurl.html. For any other VisualStudio 
version you need to rebuild the library.
You find the build script here: 
https://github.com/ldc-developers/ldc-scripts/blob/master/ldc2-win64/RELEASE.proj

Please be sure to report any bugs at 
https://github.com/ldc-developers/ldc/issues, and feel free to 
drop by at the digitalmars.D.ldc forums 
(http://forum.dlang.org/group/digitalmars.D.ldc) for any 
questions or comments.

Thanks to everybody involved in making this happen!

Regards,
Kai
Jul 14 2016
next sibling parent reply Jack Stouffer <jack jackstouffer.com> writes:
On Friday, 15 July 2016 at 06:24:15 UTC, Kai Nacke wrote:
 Hi everyone!

 On behalf of the LDC team I am proud to announce the new 
 1.1.0-alpha1 release!
Congratulations. I am very excited about the cross-module inlining and PGO. A couple of questions: 1. Is this release already registered with Travis? I would like to test my projects there instead of manually. 2. Is fastmath going to be applied in std.math? 3. Is the ARM assembly for bigint in Phobos master already? I don't remember seeing a PR for it. 4. Does the D front-end make your job easier or harder?
Jul 15 2016
parent reply Kai Nacke <kai redstar.de> writes:
On Friday, 15 July 2016 at 16:35:30 UTC, Jack Stouffer wrote:
 A couple of questions:

 1. Is this release already registered with Travis? I would like 
 to test my projects there instead of manually.
I just updated the LATEST file. Should be usable now.
 2. Is  fastmath going to be applied in std.math?
No plans yet.
 3. Is the ARM assembly for bigint in Phobos master already? I 
 don't remember seeing a PR for it.
Yes, it is. The PR was against lts-master. See https://github.com/ldc-developers/phobos/pull/31.
 4. Does the D front-end make your job easier or harder?
It depends at which part of the work you look. Merging the frontend hasn't changed. If there are AST changes then the LDC code generation has to be changed, too. Writing and extending the CMake description is now a bit harder because you have to consider an additional language. And personally I am developing on Windows with VisualStudio. I now lost the ability to debug the frontend. Yes, this is really hard (for me, not for the GDB folks)! Regards, Kai
Jul 15 2016
next sibling parent David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On 15 Jul 2016, at 21:09, Kai Nacke via digitalmars-d-ldc wrote:
 I just updated the LATEST file. Should be usable now.
Shouldn't we just update LATEST on the actual release? Otherwise, we'll potentially be breaking people's "ldc" Travis builds with an unstable compiler. — David
Jul 15 2016
prev sibling next sibling parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 15.07.2016 22:09, Kai Nacke wrote:
 And personally I am developing on Windows with VisualStudio. I now lost
 the ability to debug the frontend. Yes, this is really hard (for me, not
 for the GDB folks)!
Latest (alpha) release of Visual D allows seamless integration of mago for D, but the VS debug engine for C++ code. That requires to build the D code with a recent DMD version. CodeView debug information with LDC is within reach, I've seen some (non-integer) variable watches working a couple of weeks ago (with a small patch to LDC).
Jul 16 2016
prev sibling parent reply Jack Stouffer <jack jackstouffer.com> writes:
On Friday, 15 July 2016 at 20:09:35 UTC, Kai Nacke wrote:
 3. Is the ARM assembly for bigint in Phobos master already? I 
 don't remember seeing a PR for it.
Yes, it is. The PR was against lts-master. See https://github.com/ldc-developers/phobos/pull/31.
I meant dlang/phobos, but that kind of answers my question: no. Can we expect to see this in mainline Phobos anytime soon?
Jul 16 2016
parent David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On 17 Jul 2016, at 2:15, Jack Stouffer via digitalmars-d-ldc wrote:
 On Friday, 15 July 2016 at 20:09:35 UTC, Kai Nacke wrote:
 3. Is the ARM assembly for bigint in Phobos master already? I don't 
 remember seeing a PR for it.
Yes, it is. The PR was against lts-master. See https://github.com/ldc-developers/phobos/pull/31.
I meant dlang/phobos, but that kind of answers my question: no. Can we expect to see this in mainline Phobos anytime soon?
Kai's implementation uses LDC-specific inline asm syntax, so: Not in this form. The code could be adapted to other compilers, though. — David
Jul 17 2016
prev sibling parent reply Temtaime <temtaime gmail.com> writes:
http://ldc.acomirei.ru

Updated to this compiler and LLVM 3.9
Jul 21 2016
parent reply Johan Engelen <j j.nl> writes:
On Thursday, 21 July 2016 at 16:54:05 UTC, Temtaime wrote:
 http://ldc.acomirei.ru

 Updated to this compiler and LLVM 3.9
Fantastic, I did not know about your site yet! Could you also add LDC 0.17 and 1.0.0? Please also change the compiler version to 1.1.0-alpha1 so it is clear that it is not the final release. Can we link to your site from the wiki?
Jul 21 2016
parent reply Temtaime <temtaime gmail.com> writes:
On Thursday, 21 July 2016 at 17:46:59 UTC, Johan Engelen wrote:
 On Thursday, 21 July 2016 at 16:54:05 UTC, Temtaime wrote:
 http://ldc.acomirei.ru

 Updated to this compiler and LLVM 3.9
Fantastic, I did not know about your site yet! Could you also add LDC 0.17 and 1.0.0? Please also change the compiler version to 1.1.0-alpha1 so it is clear that it is not the final release. Can we link to your site from the wiki?
It's already in wiki. https://wiki.dlang.org/Online_compilers OK, changed to alpha1. I can, but i don't see a reason to add older versions :)
Jul 21 2016
parent kinke <noone nowhere.com> writes:
On Thursday, 21 July 2016 at 18:02:40 UTC, Temtaime wrote:
 I can, but i don't see a reason to add older versions :)
Well, it's an alpha, so one reason would be to have the option to compare with the latest stable version. ;) 1.1 is quite near, so you may as well just wait. But in the future, please maintain at least one stable version. Thanks btw. :)
Jul 21 2016