Thread overview
LDC 1.21.0
Apr 23, 2020
kinke
Apr 24, 2020
zoujiaqing
Apr 24, 2020
Greatsam4sure
Apr 24, 2020
Paulo Pinto
Apr 24, 2020
Sebastiaan Koppe
Apr 24, 2020
Paulo Pinto
Apr 24, 2020
H. S. Teoh
Apr 25, 2020
Russel Winder
April 23, 2020
Glad to announce an exciting LDC 1.21 release - some highlights:

* Based on D 2.091.1+; LLVM upgraded to v10.0.0.
* Experimental iOS/arm64 support - all druntime/Phobos unittests pass, thanks Jacob! The prebuilt macOS package supports cross-compilation out of the box, just add `-mtriple=arm64-apple-ios12.0` (ldc2/ldmd2) or `--arch=arm64-apple-ios12.0` (dub).
* Initial support for GCC/GDC-style inline assembly syntax, primarily for portability across GDC and LDC (and GCC-style C).
* Android improvements, incl. an important fix for x86 architectures, usability of the ld.gold linker, no more D main() requirement and reduced .so sizes.
* Important AArch64 bugfix, especially for unoptimized code.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.21.0

Thanks to all contributors!
April 24, 2020
On Thursday, 23 April 2020 at 17:53:05 UTC, kinke wrote:
> Glad to announce an exciting LDC 1.21 release - some highlights:
>
> * Based on D 2.091.1+; LLVM upgraded to v10.0.0.
> * Experimental iOS/arm64 support - all druntime/Phobos unittests pass, thanks Jacob! The prebuilt macOS package supports cross-compilation out of the box, just add `-mtriple=arm64-apple-ios12.0` (ldc2/ldmd2) or `--arch=arm64-apple-ios12.0` (dub).
> * Initial support for GCC/GDC-style inline assembly syntax, primarily for portability across GDC and LDC (and GCC-style C).
> * Android improvements, incl. an important fix for x86 architectures, usability of the ld.gold linker, no more D main() requirement and reduced .so sizes.
> * Important AArch64 bugfix, especially for unoptimized code.
>
> Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.21.0
>
> Thanks to all contributors!

Thanks! Use LDC writing mobile app :)
April 24, 2020
On Thursday, 23 April 2020 at 17:53:05 UTC, kinke wrote:
> Glad to announce an exciting LDC 1.21 release - some highlights:
>
> * Based on D 2.091.1+; LLVM upgraded to v10.0.0.
> * Experimental iOS/arm64 support - all druntime/Phobos unittests pass, thanks Jacob! The prebuilt macOS package supports cross-compilation out of the box, just add `-mtriple=arm64-apple-ios12.0` (ldc2/ldmd2) or `--arch=arm64-apple-ios12.0` (dub).
> * Initial support for GCC/GDC-style inline assembly syntax, primarily for portability across GDC and LDC (and GCC-style C).
> * Android improvements, incl. an important fix for x86 architectures, usability of the ld.gold linker, no more D main() requirement and reduced .so sizes.
> * Important AArch64 bugfix, especially for unoptimized code.
>
> Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.21.0
>
> Thanks to all contributors!

Great work! What is the status of WebAssembly support beyond betterC?
April 24, 2020
On Friday, 24 April 2020 at 06:13:09 UTC, Paulo Pinto wrote:
> Great work! What is the status of WebAssembly support beyond betterC?

Almost there.

I originally planned to complete it last February. It turned out to be a bit more work because I didn't consider I would need to port parts of phobos as well. I then set a new deadline in March.

Covid-19 happened and my wife and I have been homeschooling our kids in-between work. I haven't been able to find a lot of time to work on this.

The druntime and phobos test-runners both compile, and I am using whatever spare time I have to fix or disable any tests that fail.

Once that is done, I will open up PR's to both upstream repos. I do expect some discussions on that front so it probably won't be a one-day deal.

After that there will be a little celebration since I have already have a PR to update LDC's CI to create prebuild releases.
April 24, 2020
On Friday, 24 April 2020 at 04:28:00 UTC, zoujiaqing wrote:
> On Thursday, 23 April 2020 at 17:53:05 UTC, kinke wrote:
>> [...]
>
> Thanks! Use LDC writing mobile app :)

I am interested in mobile app using D. Pls can you post a link on how to start. I wiwill really appreciate it
April 24, 2020
On Friday, 24 April 2020 at 06:58:52 UTC, Sebastiaan Koppe wrote:
> On Friday, 24 April 2020 at 06:13:09 UTC, Paulo Pinto wrote:
>> Great work! What is the status of WebAssembly support beyond betterC?
>
> Almost there.
>
> I originally planned to complete it last February. It turned out to be a bit more work because I didn't consider I would need to port parts of phobos as well. I then set a new deadline in March.
>
> Covid-19 happened and my wife and I have been homeschooling our kids in-between work. I haven't been able to find a lot of time to work on this.
>
> The druntime and phobos test-runners both compile, and I am using whatever spare time I have to fix or disable any tests that fail.
>
> Once that is done, I will open up PR's to both upstream repos. I do expect some discussions on that front so it probably won't be a one-day deal.
>
> After that there will be a little celebration since I have already have a PR to update LDC's CI to create prebuild releases.

From my side, no need for explanations, it is already a much better experience with D and betterC than having to deal with emscripten.

Many thanks for the work, all the best and stay safe in these days.

April 24, 2020
On Thu, Apr 23, 2020 at 05:53:05PM +0000, kinke via Digitalmars-d-announce wrote:
> Glad to announce an exciting LDC 1.21 release - some highlights:
> 
> * Based on D 2.091.1+; LLVM upgraded to v10.0.0.
[...]

Nice!


> * Android improvements, incl. an important fix for x86 architectures, usability of the ld.gold linker, no more D main() requirement and reduced .so sizes.
[...]

Awesome!

Many thanks to the LDC team for the hard work to bring this awesome compiler to us!


T

-- 
Never step over a puddle, always step around it. Chances are that whatever made it is still dripping.
April 25, 2020
On Fri, 2020-04-24 at 11:19 -0700, H. S. Teoh via Digitalmars-d-
announce wrote:
[…]
> 
> Awesome!
> 
> Many thanks to the LDC team for the hard work to bring this awesome compiler to us!

Agreed. Very much agreed.

Hopefully the Debian D packaging folks can be speedy getting this new version of LDC into Debian Sid.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk