www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.21.0

reply kinke <noone nowhere.com> writes:
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!
Apr 23
next sibling parent reply zoujiaqing <zoujiaqing gmail.com> writes:
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 :)
Apr 23
parent Greatsam4sure <greatsam4sure yahoo.com> writes:
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
Apr 24
prev sibling next sibling parent reply Paulo Pinto <pjmlp progtools.org> writes:
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?
Apr 23
parent reply Sebastiaan Koppe <mail skoppe.eu> writes:
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.
Apr 23
parent Paulo Pinto <pjmlp progtools.org> writes:
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.
Apr 24
prev sibling next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
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.
Apr 24
prev sibling parent Russel Winder <russel winder.org.uk> writes:
On Fri, 2020-04-24 at 11:19 -0700, H. S. Teoh via Digitalmars-d-
announce wrote:
[=E2=80=A6]
=20
 Awesome!
=20
 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. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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
Apr 24