newCTFE Status Janurary 2018

Neia Neutuladh neia at ikeran.org
Mon Jan 14 00:01:51 UTC 2019


On Sun, 13 Jan 2019 21:00:28 +0000, JN wrote:
> On Sunday, 13 January 2019 at 14:47:59 UTC, Stefan Koch wrote:
>> Hi Guys,
>>
>> I've just done a small refactoring which I have been putting off for a
>> while now.
>> It should greatly help with reducing ABI bugs, and it cuts the
>> dependencies between the DMD-dependent and the independent parts of
>> newCTFE.
> 
> I'm not very familiar with the project, although I've seen the name pop
> up from time to time. What benefits does it provide? Is it only for DMD
> or will GDC/LDC make use of it too?

D's compile-time function evaluation is powerful. It's also slow and 
memory-hungry. newCTFE will let us run code at compile time using a more 
advanced interpreter, one that will be significantly faster and probably a 
lot gentler with memory.


More information about the Digitalmars-d mailing list