On Mon, Mar 7, 2011 at 2:03 PM, filgood <span dir="ltr"><<a href="mailto:filgood@somewhere.net">filgood@somewhere.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Btw, what is the status of the D2 LLVM compiler?<br></blockquote><div> </div><div>Here are my impressions. I might title this short collection of thoughts, "LDC2 - one user's early experience."<br><br>With alot of caveats, my experience as a user of D2 LLVM (which has been only over the last week) has been good.  This is very subjective, and not very scientific, but my two cents are: LDC2 is in impressive shape.  But I'm new to D as well, so I'm not a very good judge of these things.<br>
<br>And here are the caveats: I personally have written only 8-line toy programs with it.  LDC2, as far as I know, only does linux. But it does do linux64 (and I assume 32, but I've only tried 64).  It doesn't do anything else as far as I know. I tried OSX and there's a bunch things that need careful attention before that version will fly. <br>
<br>There's not very good documentation on building LDC2, and figuring out how to build involved getting help on the chat group. But they are very helpful.  When I asked Alexey about the gc issues he had mentioned (on a wiki...maybe, I don't recall exactly), he wrote back and said that those issues were now fixed.  Many of the optimization levels don't function, but those should be trivial to fix.<br>
<br>The build instructions are pretty out of date and the makefiles aren't really configured right, but after mucking with it for a bit, I got it to build. If you can get it to build, it compiles druntime and phobos. That is fairly impressive.  It showed good (not 100%, but good) conformance when compared with the dmd2 output on a 100 test subset of the runnable category of tests from <a href="https://github.com/D-Programming-Language/dmd">https://github.com/D-Programming-Language/dmd</a>. I don't know how comprehensive that test suite is, but it reassured me enough to continue to work with <br>
the compiler. <br><br>Alexey Prokhin--as the current lead developer--deserves applause, loud applause, for his work on LDC2.<br><br>Thank you Alexey!  This is very nice work.<br><br>- Jason<br></div></div><br>