December 03

Glad to announce the 5th beta for LDC 1.40. Major changes (since v1.39):

  • Based on D ~2.110.0 (yesterday's upstream stable).
  • Support for LLVM 19; the prebuilt packages use v19.1.3 (incl. macOS arm64).
  • Support for Objective-C classes and protocols, as well as swift stub classes (via the @swift UDA).
  • Emscripten: The compiler now mimicks a musl Linux platform wrt. extra predefined versions. ABI compatibility with clang improved too.
  • Mainly for distro package maintainers: Use system zlib instead of Phobos' vendored version through CMake -DPHOBOS_SYSTEM_ZLIB=ON. Thanks Andrei!
  • Edge-case fixes regarding IR struct layouts and link-time culling (for ELF targets).

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

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

December 09

Beta6 available now, which fixes a regression wrt. undefined lambda symbols.