CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 23 22:35:56 PST 2017


The blacklisted functions are now down to only two.

Those are the bitswap function in druntime.
Because the interpreter does handle all values as 64bit 
internally it tends to miscompile code that uses xor on 32bit 
values.

And the second one is the "to" template from std.conv;
Because of the aforementioned UTF issues.

NOTE: that the blacklist is by nature transitive meaning a 
function that calls a blacklisted function will also not be 
interpreted by newCTFE


More information about the Digitalmars-d mailing list