Top 5

Robert Fraser fraserofthenight at gmail.com
Thu Oct 16 18:00:59 PDT 2008


Tomas Lindquist Olsen wrote:
> Robert Fraser wrote:
>> Bruno Medeiros Wrote:
>>> Robert Fraser wrote:
>>>> I hope so, but realistically LDC only works on x86 Linux and there's 
>>>> a lot of work getting it to work on other platforms (much of this 
>>>> work on LLVM itself instead of just LDC).
>>> What do you mean? Are there any significant issues with LLVM itself 
>>> on the Windows platform?
>>
>> Namely structured exception handling.
>>
>> I'd actually like to see a Phoenix compiler on Windows. Many Windows 
>> developers use MSVC, and being able to statically link to 
>> MSVC-generated code will help in migration of existing codebases to D 
>> (DMD uses the same object format as MS, but it won't link). It would 
>> also open the door to CLI support (shall we call it D.NET or D#?).
> 
> In the end LLVM could get us all that. There's already work getting LLVM 
> do work with MSVC and there is actually a MSIL backend for LLVM as well.

True, but considering the calisthenics it takes to build LLVM *itself* 
under VS, I don't know how they'll ever get LLVM-generated code linking 
with MS-generated code.

That being said, LLVMDC for Windows is the low-lying fruit here; an 
entire Phoenix-based compiler would be a lot more work.



More information about the Digitalmars-d mailing list