github ldc-developers/ldc v1.12.0-beta1
LDC 1.12.0-beta1

latest releases: v1.38.0-beta1, dmd-rewrite-v2.108.0, dmd-rewrite-v2.108.0-rc.1...
pre-release5 years ago

Big news

  • Frontend, druntime and Phobos are at version 2.082.0. (#2818, #2837)
    • Significant performance improvements for some transcendental std.math functions in single and double precision, at least for x86. (dlang/phobos#6272 (comment))
  • LTO now basically working for Win64 too; the prebuilt package includes the required external LLD linker and the optional LTO default libs. Enable as usual with -flto=<thin|full> [-defaultlib=druntime-ldc-lto,phobos2-ldc-lto]. (#2774)
  • Config file: new lib-dirs array for directories to be searched for libraries, incl. LLVM compiler-rt libraries. (#2790)

Platform support

Bug fixes

  • Fix IR-based PGO on Windows (requires our LLVM fork). (#2539)
  • Fix C++ class construction with D new on Posix. (#2801)
  • Android: No more text relocations in Phobos zlib, required for API level 23+. (#2822, #2835)

Known issues

  • LDC does not zero the padding area of a real variable. This may lead to wrong results if the padding area is also considered. See #770. Does not apply to real members inside structs etc.

Don't miss a new ldc release

NewReleases is sending notifications on new releases.