<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 November 2013 04:54, Daniel Murphy <span dir="ltr"><<a href="mailto:yebblies@nospamgmail.com" target="_blank">yebblies@nospamgmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"Andrei Alexandrescu" <<a href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</a>> wrote in message<br>

news:l5madp$1p24$1@digitalmars.com...<br>
<div><div class="h5">> On 11/9/13 9:14 AM, nazriel wrote:<br>
>> On Thursday, 18 July 2013 at 01:21:44 UTC, Chad Joan wrote:<br>
>>> I'd like to present my vision for a new D compiler.  I call it xdc, a<br>
>>> loose abbreviation for "Cross D Compiler" (if confused, see<br>
>>> ...<br>
>>> Thank you for reading.<br>
>><br>
>> I think C backend is a good idea.<br>
><br>
> I think C is not a good back-end language. Other backend generators<br>
> usually have a white paper explaining why... <a href="http://www.cminusminus.org/" target="_blank">http://www.cminusminus.org/</a><br>
><br>
> Andrei<br>
><br>
><br>
<br>
</div></div>That is true in general, but D actually maps quite well onto C.<br>
<br>
I did some work on creating a C backend a while back, and it worked quite<br>
well.<br>
<br>
However - most of the work is in creating a runtime that will work correctly<br>
on the target platform.  If your desired target is anything that llvm or gcc<br>
supports, I would recommend using ldc/gdc instead of doing it all from<br>
scratch.<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Especially gdc. Cross-platform support needs all the love it can get. ;-)<br clear="all"></div><div class="gmail_extra"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>