Big news
- Frontend, druntime and Phobos are at version 2.088.0+. (#3143, #3161)
- Bundled dub upgraded to v1.17.0+ with improved LDC support, incl. cross-compilation (e.g.,
--arch=x86_64-pc-windows-msvc
). (dlang/dub#1755, Wiki) - Init symbols of zero-initialized structs are no longer emitted. (#3131)
- druntime: DMD-compatible
{load,store}Unaligned
andprefetch
added tocore.simd
. (ldc-developers/druntime#163) - JIT improvements, incl. multi-threaded compilation. (#2758, #3154)
Platform support
- Supports LLVM 3.9 - 8.0.
Bug fixes
Known issues
- Buggy older
ld.bfd
linker versions may wrongly strip out required symbols, e.g., ModuleInfos (so that e.g. no module ctors/dtors are run). LDC defaults told.gold
on Linux. - 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 toreal
members inside structs etc.