Zimbu

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sat Sep 14 23:54:54 PDT 2013


On Sat, 14 Sep 2013 20:04:10 +0100
Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> On 14 September 2013 19:47, Nick Sabalausky
> <SeeWebsiteToContactMe at semitwist.com> wrote:
> > On Sat, 14 Sep 2013 13:14:09 +0200
> > Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> wrote:
> >>
> >> Theoretically, shouldn't GDC be able to support just about any
> >> architecture for which GCC has a backend?  The runtime and Phobos
> >> need porting, but the core language itself should be usable, no?
> >
> > And doesn't LLVM have a way to compile D *to* C?
> >
> 
> If it did, there would be quite a few bits missing as much of D can
> not be easily represented in C.
> 

Maybe, but as I recall, it was actually the low-level LLVM bytecode
that gets translated to C, not the higher-level constructs.

Related:
http://d.hatena.ne.jp/ABA/20130331#p1

Although I guess that's using "LLVM IR -> JS", not "LLVM IR -> C". But
I could swear I've seen a "LLVM IR -> C" before...



More information about the Digitalmars-d mailing list