string encryption
ag0aep6g via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 1 22:40:37 PDT 2016
On 07/02/2016 12:23 AM, Hiemlick Hiemlicker wrote:
> This also seems like a bug in D because manifest constants used as sole
> arguments to ctfe'able functions should be replaced by the function result.
No. There are functions that don't have any dynamic input, but still
take a long time to finish or don't finish at all. Eagerly attempting
CTFE on these would be bad.
The compiler is supposed to produce a binary, which can then be run to
make the computation. The compiler is not supposed to eagerly act as an
interpreter and take forever to make the computation itself.
More information about the Digitalmars-d
mailing list