January 09, 2009
Christian Kamm wrote:
> PowerPC support is still in its infancy. We've had two people looking at it
> a few months back, but I haven't heard from either recently. I think they
> ran into a frontend-portability issue:
> http://www.dsource.org/projects/ldc/ticket/76
> 
> I don't think anyone has tried LDC on ARM yet.

ARM is real big on embedded systems like phones. D is an ideal language for them. I get asked a lot about supporting it.

The PPC is a more fill-in-the-blank, as it is yesterday's machine.

Anyhow, getting D on more platforms will remove a lot of barriers people have to using it. LDC is a big step forward for that.
January 09, 2009
Christian Kamm wrote:
> D2 support is still a long way off, we haven't even begun implementing most
> of its specific features.

Does LLVM support thread local storage? That is shaping up to be critical for D2.
January 09, 2009
Walter Bright wrote:
> The PPC is a more fill-in-the-blank, as it is yesterday's machine.

In terms of desktop machines, yes. But most current gaming consoles have PowerPC processors.
January 09, 2009
Hey, did you guys send this announcement to any LLVM mailing lists?

--bb

On Fri, Jan 9, 2009 at 8:21 AM, Christian Kamm <kamm-incasoftware@removethis.de> wrote:
> The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here: http://www.incasoftware.de/~kamm/ldc/ldc-0.9.tbz2
>
> We had already announced this release during the Tango conference in September (we hope the video of our presentation will be out soon), but - as was to be expected - it took a bit longer than planned.
>
> LDC ships with a precompiled Tango rev 4237 and passes all except two of Tango's unittests (io.digest.Md2 and text.locale.Posix fail). DStress results also look favorable. The chances are good that your code will work with it too!
>
> There are several known issues, the most severe being:
>  * LDC does not compile DWT successfully for unknown reasons
>  * an LLVM 2.4 bug sometimes leads to linker errors when unreachable code is
>   optimized away
>  * LDC doesn't fully follow the D calling convention (but it's close!)
>  * we inherit every DMD-frontend related bug in the D bug tracker
>  * … there are more in our tracker
>
> If you encounter a bug, please check our bug tracker and create a new ticket if the issue isn't listed yet. Maybe you are feeling adventurous and want to try fixing it yourself; in that case take a look at our getting started guide.
>
> LDC could support other platforms. Furthest along so far are
>  * x86-64 Linux: needs people to start fixing smaller bugs, exception bug
>   (LLVM issue)
>  * x86-32 Mac: small runtime issues, needs tests
>  * x86-32 Windows: exceptions not supported (LLVM issue)
>
> but support for these platforms won't improve on its own! Several friendly people have offered their help - we need more of those!
>
> For those with big CTFE memory needs, we have an experimental version of LDC
> available
> http://www.incasoftware.de/~kamm/ldc/ldc-0.9-gc.tbz2
> which has the compile-time garbage collector enabled. In the future, we're
> going to experiment with a forward reference hack, but right now it still
> introduces too many regressions.
>
> Feedback and questions are appreciated and should go to the mailing list: ldc-dev@googlegroups.com. Alternatively, we're often seen in #ldc on FreeNode.
>
> Tomas Lindquist Olsen, Christian Kamm
>
>
January 09, 2009
On Fri, 09 Jan 2009 00:21:15 +0100, Christian Kamm wrote:

> The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here: http://www.incasoftware.de/~kamm/ldc/ldc-0.9.tbz2
> 
[..]

Anyway,

http://www.incasoftware.de/~kamm/projects/index.php/2009/01/09/ldc-09- released/
January 09, 2009
naryl wrote:

> Tim M Wrote:
>> Congrats. Is anyone working on any idividual packages like ubuntu/gentoo?
> You can find ebuilds for ldc trunk here: http://www.assembla.com/wiki/show/d-overlay Sorry I have an exam in two days so v0.9 ebuild won't be available for a while.

Hey, this is great news, indeed! Did I overlook something or there was no announcement about this overlay?

It would be nice to see these packages in portage directly, or at least in the official overlay. Any chance?

I tried to install the overlay, but I get an 'Overlay "d-overlay" is missing a "contact" attribute!' error message.

Many thanks,
David

January 09, 2009
Congratulations!
January 09, 2009
David Ferenczi Wrote:

> naryl wrote:
> 
> > Tim M Wrote:
> >> Congrats. Is anyone working on any idividual packages like ubuntu/gentoo?
> > You can find ebuilds for ldc trunk here: http://www.assembla.com/wiki/show/d-overlay Sorry I have an exam in two days so v0.9 ebuild won't be available for a while.
> 
> Hey, this is great news, indeed! Did I overlook something or there was no announcement about this overlay?

No. Just an obscure link on ldc page. :)

> It would be nice to see these packages in portage directly, or at least in the official overlay. Any chance?

It's a little small to be included in official overlay list but we can try.

> I tried to install the overlay, but I get an 'Overlay "d-overlay" is missing a "contact" attribute!' error message.

Didn't know that it's required. Anyway, try again now.

> Many thanks,
> David
> 

January 09, 2009
On Fri, 09 Jan 2009 13:57:29 +0000, Moritz Warning wrote:

> On Fri, 09 Jan 2009 00:21:15 +0100, Christian Kamm wrote:
> 
>> The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here: http://www.incasoftware.de/~kamm/ldc/ldc-0.9.tbz2
>> 
> [..]
> 
wrong link, I meant this one:

http://www.reddit.com/r/programming/comments/7oi03/ llvm_d_compiler_09_released/
January 09, 2009
"Christian Kamm" <kamm-incasoftware@removethis.de> wrote in message news:gk72bd$2p4b$1@digitalmars.com...
> dsimcha wrote:
>> Also, some Win32 builds, both w/ and w/o D2 support, would be appreciated
>> if
>> possible.  I am interested in playing around with LDC on Win32 and filing
>> bug
>> reports, etc. even if exception handling is broken.  I just tried to
>> build
>> LDC myself and got some ridiculous, inscrutible error messages that I
>> probably won't
>> get to troubleshooting too soon.  If someone more familiar w/ LDC has a
>> decent build environment set up already, please post some builds.
>
> D2 support is still a long way off, we haven't even begun implementing
> most
> of its specific features.
>
> We won't release official Win32 builds as long as exception handling is
> unsupported. However, Elrood actually had Win32 binaries online a few
> months ago. He's also written the extensive LDC on Windows with MinGW
> step-by-step guide (http://www.dsource.org/projects/ldc/wiki/LDC_MinGW)
> and
> would surely welcome your feedback if something in there is unclear or
> doesn't work for you.
>

Is MSYS/MinGW needed for building LDC/LLVM on windows? I found that to be a problem with GCC.