alternative D frontends should have a LLVM backend

0ffh spam at frankhirsch.net
Tue Oct 30 11:28:23 PDT 2007


Clay Smith wrote:
> 0ffh wrote:
>> I don't really know. Whenever I need to generate code, I go via C because
>> it supports every architecture I could ever need (or in fact think of).
>> For a D backend the LLVM might have it's advantages, but I really can't
>> think of any. How is generating LLVM better than generating C source?
> 
> "A C back-end useful for testing and for generating native code on 
> targets other than the ones listed above."
> 
> So, LLVM can generate C code, and it can do more. I suppose that's why 
> it is better.

Well, but there is also a C compiler with LLVM backend.
So if you really want LLVM code, you can generate it from the C code...

Regards, Frank



More information about the Digitalmars-d mailing list