LDC2 Status

Jacob Carlborg doob at me.com
Fri Feb 25 02:14:32 PST 2011


On 2011-02-25 10:10, Don wrote:
> Trass3r wrote:
>>> Trass3r Wrote:
>>>> Also I got the feeling that LDC2 has been hastily updated to the
>>>> newest dmd frontend without verifying each upgrade step by step and
>>>> now things are subtly broken.
>>> When I started to work on ldc2, it was in terrible state (it did not
>>> even compile). So, yes, I decided to update ldc to the latest dmd
>>> frontend at the time. But after that every frontend merge was
>>> thoroughly tested using phobos unittests and dmd test suite.
>>
>> Glad to hear that! Didn't mean to talk your efforts down ;)
>> Hope you can make it usable. Now if only those LLVM suckers
>> implemented SEH...
>
> Wouldn't it be possible for LDC to use the exception handling
> implementation in druntime? (With some modifications, of course). With
> the last compiler release, there is no longer any dependency on the DMC
> runtime. I put a lot of effort into understanding Windows SEH, and I
> believe it is quite well documented now.

I think that the compiler outputs exception tables, or something like 
that. Without does tables no exceptions.

>>> I need a hand with writing a good building instruction. If you want
>>> to help, send me a letter, I'll talk you through building process.
>>> By the way, druntime and phobos with ldc2 patches can be found here:
>>> https://github.com/AlexeyProkhin.
>>
>> I might try compiling it on Windows again.


-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list