The release 0.9.1 of LDC, the LLVM based compiler for the D programming language, contains the following major improvements:
- lots of bug fixes
- x86-64 support is mature
- inline asm improved (we now define D_Inline_Asm)
- cross-compilation support
- uses boehm-gc during compilation (x86-32 only)
- D specific optimizations:
- turn GC allocations to allocas if possible
- simplify or remove certain calls to D runtime functions
The command line interface of LDC now has added options in line with other LLVM based tools. Please use the ldmd wrapper if you want a drop-in replacement for DMD.
Linux x86-32 download
Linux x86-64 download
Tomas Lindquist Olsen
Christian Kamm
Frits van Bommel
Kelly Wilson
Comments 3
hi,
great !
just wondering…
is it planned to get something like rdmd with ldc ?
http://digitalmars.com/d/2.0/rdmd.html
cheers,
Posted 28 May 2009 at 0:19 ¶sebastien.
@sebastien binet You can use rdmd with –compiler=ldmd to make rdmd use ldc instead.
Posted 28 May 2009 at 14:49 ¶Robert,
thanks for the hint.
I made a binary archlinux package from these .tar.bz2:
http://aur.archlinux.org/packages.php?ID=26958
would be great to have the same packaging but with druntime instead of Tango :) (but I am pushing my luck)
cheers,
Posted 02 Jun 2009 at 19:00 ¶sebastien.