CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 6 07:31:24 PST 2016


On Saturday, 5 November 2016 at 20:57:06 UTC, Andrei Alexandrescu 
wrote:
> On 11/4/16 9:21 PM, Stefan Koch wrote:
>> I thought about it some more, and decided that I will replace 
>> the old
>> interpreter completely in the long run.
>> However in order to get something release before 2017, I have 
>> to rely on
>> it being there.
>
> That's good thinking - leave short term to the short term and 
> long term to the long term. As the Romanian proverb goes: 
> "Don't sell the skin of the bear before you shoot it." -- Andrei

I would interpret this proverb as referring to sequential 
consistency.

A just a small update today:

I just introduced questionable code that enables the 
interpreter-backed to pass the phobos unitests but will cause the 
llvm backend to fail.

Also, the list of manual bail-outs just grew by a few members.

Currently work on Function-Call support is halted in favor of 
investigating why the bail-outs are necessary.

I begun some work on returning Error-Information for the 
BC-backends.
This is rather difficult due to the high degree of separation 
between the ctfe-engine and the rest of dmd.

A nice weekend to all of you.


P.S.
Phobos and druntime unittests do compile now.
After the ability for returning errors is added all unitests will 
be passed. (Most likely if there are not more bugs inside the 
engine)




More information about the Digitalmars-d mailing list