Is it possible to add items to the arrays and hashes at compile time?

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 10 12:38:13 PDT 2015


On Wednesday, 10 June 2015 at 17:13:34 UTC, anonymous wrote:
> On Wednesday, 10 June 2015 at 17:00:34 UTC, Dennis Ritchie 
> wrote:
>> Isnt it possible to come up with the interpreter compile-time, 
>> which will determine the operating time of the program at 
>> runtime at compile time.
>
> Sounds like the halting problem. So, no, generally this is not 
> possible.

Thanks. I had never heard of the halting problem. This is exactly 
what I wanted to know.


More information about the Digitalmars-d-learn mailing list