newCTFE Status August 2017
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 9 08:47:09 PDT 2017
On Tuesday, 1 August 2017 at 21:27:32 UTC, Stefan Koch wrote:
> [ ... ]
After a bit of fixing and the unfortunate addition of 4
blacklisted functions, phobos complies and passes the unittests
under newCTFE. (Which implies that druntime compiles and works as
well)
A few ABI issues were fixed.
and we are now able to execute lz4-ctfe[0] test[1] approximately
10-15x faster.
Note: that 35% of the time is actually spend to convert the
output from the newCTFE-representation to dmd ast nodes. (This is
because the conversion is currently a recursive function which
does not scale well with over 9000 (Yes it's over 9000) nodes to
produce for an array.)
Hopefully the next preview release will be ready soon, then you
can try it out yourself.
Cheers,
Stefan
[0] https://github.com/UplinkCoder/lz4-ctfe
[1]
https://github.com/UplinkCoder/lz4-ctfe/blob/master/source/test.d
More information about the Digitalmars-d
mailing list