LDC 1.43.0-beta1

kinke noone at nowhere.com
Wed Aug 5 17:01:45 UTC 2026


Glad to announce the first beta for LDC 1.43. Some major changes:

* Based on early D 2.113.0 (recent upstream stable).
   * If you see significant runtime/code-size regressions due to 
now-opt-in `-foptimize-nothrow`, please let us know, as the 
default setting isn't set in stone yet.
* Support for LLVM 22. The prebuilt packages use v22.1.8.
* Minimum LLVM version raised to 18.
* DRuntime and Phobos now support WASI preview levels 1 and 2, 
incl. general WebAssembly fixes for EH and GC support. Thanks to 
Demetrius for making this happen!
* New prebuilt addon packages for simple cross-compilation, for 
Windows, Android and WASI targets.
* The `@restrict` UDA is now supported for dynamic-array 
parameters too. Builtin array ops use it, enabling 
auto-vectorization.
* Revamped codegen for *naked* DMD-style inline assembly, lifting 
a few former restrictions.
* dcompute: Support embedding native device code (PTX and SPIR-V) 
into the host executable's `.rodata` section.

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

Please help test, and thanks to all contributors & sponsors!


More information about the Digitalmars-d-announce mailing list