Thread overview
What is the sate of LDC?
Mar 15, 2009
BCS
Mar 15, 2009
Denis Koroskin
Mar 15, 2009
BCS
Mar 15, 2009
bearophile
Mar 15, 2009
BCS
Mar 22, 2009
Georg Wrede
Mar 22, 2009
bearophile
Mar 24, 2009
Lutger
March 15, 2009
Are there binary release of it?
Will it run under windows?


March 15, 2009
On Sun, 15 Mar 2009 23:57:02 +0300, BCS <none@anon.com> wrote:

> Are there binary release of it?
> Will it run under windows?
>
>

Please, visit http://dsource.org/projects/ldc

It has a "Project Status" section right on the front page.

In short, binary release is out, but you may get better results from using trunk.
March 15, 2009
Hello Denis,

> On Sun, 15 Mar 2009 23:57:02 +0300, BCS <none@anon.com> wrote:
> 
>> Are there binary release of it?
>> Will it run under windows?
> Please, visit http://dsource.org/projects/ldc
> 
> It has a "Project Status" section right on the front page.
> 
> In short, binary release is out, but you may get better results from
> using trunk.
> 

Um, I found that before I posted.

It makes no reference to actually having binary releases out (but says they are forthcoming right next to a reference to a 2 month old blog post) and the word "windows" doesn't appear on the page at all.


March 15, 2009
BCS:
> It makes no reference to actually having binary releases out (but says they are forthcoming right next to a reference to a 2 month old blog post) and the word "windows" doesn't appear on the page at all.

A new "stable" release for 32 bit linux will probably come out in not too much time. They are updating it continuously.

A binary release for Win is essentially in standby, because the LLVM doesn't support exceptions on Win. I don't know how much time it will take for LLVM developers to implement them, maybe a year, I don't know (but eventually they will implement them, because they want to have LLDC to compile C++ code on Win too). And I think Walter isn't interested in implement them for LLVM, despite LDC looks like the best bet for the close future of D.

Bye,
bearophile
March 15, 2009
Hello bearophile,

> BCS:
> 
>> It makes no reference to actually having binary releases out (but
>> says they are forthcoming right next to a reference to a 2 month old
>> blog post) and the word "windows" doesn't appear on the page at all.
>> 
> A new "stable" release for 32 bit linux will probably come out in not
> too much time. They are updating it continuously.
> 
> A binary release for Win is essentially in standby, because the LLVM
> doesn't support exceptions on Win. I don't know how much time it will
> take for LLVM developers to implement them, maybe a year, I don't know
> (but eventually they will implement them, because they want to have
> LLDC to compile C++ code on Win too). And I think Walter isn't
> interested in implement them for LLVM, despite LDC looks like the best
> bet for the close future of D.
> 

Thank you, that is the exact info I was looking for.


March 22, 2009
bearophile wrote:
> [...] despite LDC looks like the best bet for the close future of D.

Would you care to elaborate?
March 22, 2009
Georg Wrede:
> bearophile wrote:
> > [...] despite LDC looks like the best bet for the close future of D.
> 
> Would you care to elaborate?

I know very little about compilers, so it's better for you to ask similar questions to LDC developers or other people. Most people around here seems to know much more than me about compilers of C-like languages.
So my opinion isn't much reliable, but if you want to know it: I think LLVM backend is currently unfinished (no exceptions on Win) but it's being developed strongly enough, and eventually it will surely have exceptions. DMD back-end is very old, developed very little, and usually it doesn't produce much efficient executables, compared to other compilers (Despite LLVM produces code that most of the times is slower than code produced by GCC, LDC already usually produces code faster than DMD, and probably it will get better).
LLVM is also open source.
So to me it seems LDC has a future more open than DMD.
(Eventually I'd like to see a project like dlang, a D clang-like front-end for LLVM written in D, replace LDC, but this will require a ton of work. So it's mostly a dream now).

Bye,
bearophile
March 24, 2009
bearophile wrote:

..
> (Eventually I'd like to see a project like dlang, a D clang-like front-end
for LLVM written in D, replace LDC, but this will require a ton of work. So it's mostly a dream now).

Sounds like dil: http://code.google.com/p/dil/