Re: What is the sate of LDC?

2009-03-24 Thread Lutger
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/



Re: What is the sate of LDC?

2009-03-21 Thread bearophile
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


What is the sate of LDC?

2009-03-15 Thread BCS

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




Re: What is the sate of LDC?

2009-03-15 Thread 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.

Bye,
bearophile