www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.34.0

reply kinke <noone nowhere.com> writes:
Glad to announce LDC 1.34.0. Major changes:

* Based on D 2.104.2.
* Support for LLVM 16, incl. v16.0.6 for the prebuilt packages. 
Support for v9 and v10 was dropped.
* 64-bit RISC-V: Enable ISA extensions ('rv64gc') by default when 
targeting an operating system.

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

Thanks to all contributors & sponsors!
Aug 26 2023
next sibling parent reply drock <drock gmail.com> writes:
On Saturday, 26 August 2023 at 13:08:14 UTC, kinke wrote:
 Glad to announce LDC 1.34.0. Major changes:

 * Based on D 2.104.2.
 * Support for LLVM 16, incl. v16.0.6 for the prebuilt packages. 
 Support for v9 and v10 was dropped.
 * 64-bit RISC-V: Enable ISA extensions ('rv64gc') by default 
 when targeting an operating system.

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

 Thanks to all contributors & sponsors!
Thanks for the great work. LDC team procuce the most important compiler with such less manpower. Unlike other new player (rust, zig, ponylang), they are focus on llvm only backend and make great success. The most dangerous crisis for dlang is keep loss users and developers, there can be a thousand reasons for that. not focus at one backend and imrpove it to the best is one reason. for example Coroutines in LLVM can be add into dlang and work with C++, there is simple no manpower for it.
Aug 27 2023
parent reply ryuukk_ <ryuukk.dev gmail.com> writes:
On Sunday, 27 August 2023 at 09:10:14 UTC, drock wrote:
 On Saturday, 26 August 2023 at 13:08:14 UTC, kinke wrote:
 Glad to announce LDC 1.34.0. Major changes:

 * Based on D 2.104.2.
 * Support for LLVM 16, incl. v16.0.6 for the prebuilt 
 packages. Support for v9 and v10 was dropped.
 * 64-bit RISC-V: Enable ISA extensions ('rv64gc') by default 
 when targeting an operating system.

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

 Thanks to all contributors & sponsors!
Thanks for the great work. LDC team procuce the most important compiler with such less manpower. Unlike other new player (rust, zig, ponylang), they are focus on llvm only backend and make great success. The most dangerous crisis for dlang is keep loss users and developers, there can be a thousand reasons for that. not focus at one backend and imrpove it to the best is one reason. for example Coroutines in LLVM can be add into dlang and work with C++, there is simple no manpower for it.
These languages are stuck with LLVM and as a result are known for having very bad build speed The day D looses DMD will be the day i stop using D, DMD gives me fast build speed I don't understand the narrative that is being pushed to get rid of DMD, this sound like sabotage rather than improvement LDC is great for portability release/prod builds, for debug/fast iteration, DMD is unmatched, it's a competitive advantage only few languages have, having a fast compiler + LLVM based compiler is a killer combo, nobody should try to shut down DMD, it's beyond stupid Fun fact: Zig people are working on getting rid of LLVM and they are building their own backend, must be telling something, don't you think? ARM support for DMD would help making it future proof
Aug 27 2023
next sibling parent Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
On Monday, 28 August 2023 at 02:02:07 UTC, ryuukk_ wrote:

 ARM support for DMD would help making it future proof
+1
Aug 28 2023
prev sibling parent d007 <d007 gmail.com> writes:
On Monday, 28 August 2023 at 02:02:07 UTC, ryuukk_ wrote:
 These languages are stuck with LLVM and as a result are known 
 for having very bad build speed
 The day D looses DMD will be the day i stop using D, DMD gives 
 me fast build speed

 I don't understand the narrative that is being pushed to get 
 rid of DMD, this sound like sabotage rather than improvement
I guess no one try get rid off DMD, but put more resource into LDC.
 LDC is great for portability release/prod builds, for 
 debug/fast iteration, DMD is unmatched, it's a competitive 
 advantage only few languages have, having a fast compiler + 
 LLVM based compiler is a killer combo, nobody should try to 
 shut down DMD, it's beyond stupid

 Fun fact: Zig people are working on getting rid of LLVM and 
 they are building their own backend, must be telling something, 
 don't you think?

 ARM support for DMD would help making it future proof
Zig made huge success with LLVM first, then try build they own backend. DMD is nice for play and testing, with ARM support will be great. but I hope ARM support not cost too much resource. (maybe use mold instead dmc tools)
Aug 28 2023
prev sibling parent reply d007 <d007 gmail.com> writes:
On Saturday, 26 August 2023 at 13:08:14 UTC, kinke wrote:
 Glad to announce LDC 1.34.0. Major changes:

 * Based on D 2.104.2.
 * Support for LLVM 16, incl. v16.0.6 for the prebuilt packages. 
 Support for v9 and v10 was dropped.
 * 64-bit RISC-V: Enable ISA extensions ('rv64gc') by default 
 when targeting an operating system.

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

 Thanks to all contributors & sponsors!
Try link with LDC 1.34.0 release and lld linker, get this error: lld: error: unknown argument '-func-specialization-size-threshold=1000000000' I can see there is `-Wl,-lto_library,/opt/local/ldc16/lib/libLTO-ldc.dylib -Wl,-mllvm,-func-specialization-size-threshold=1000000000 ` passed into clang.
Aug 29 2023
parent d007 <d007 gmail.com> writes:
On Tuesday, 29 August 2023 at 12:19:08 UTC, d007 wrote:
 Try link with LDC  1.34.0 release and lld linker, get this 
 error:


 lld: error: unknown argument 
 '-func-specialization-size-threshold=1000000000'


 I can see there is 
 `-Wl,-lto_library,/opt/local/ldc16/lib/libLTO-ldc.dylib 
 -Wl,-mllvm,-func-specialization-size-threshold=1000000000 ` 
 passed into clang.
turn out this is my scripts drop the -mllvm args pass to lld. now it work without problem.
Aug 30 2023