access CTFE variables at compile time.

bearophile bearophileHUGS at lycos.com
Tue Jul 9 18:23:14 PDT 2013


Meta:

> I think there's been mention a couple times of a ctfeWrite 
> function that can print values at compile-time, but so far 
> nobody's implemented it.

That's not true. This is the ER:
http://d.puremagic.com/issues/show_bug.cgi?id=3952

And the patch:
https://github.com/D-Programming-Language/dmd/pull/237

A significant problem with GitHub is that it's managed mostly as 
as a LIFO (last in first out), it means the last added patches 
get exposure, are discussed, and they often get added to the 
code. But if they are not merged in few weeks, they get out of 
radar and they get forgotten, and they rot for years. This is a 
significant problem for D development that so far doesn't have a 
solution. I don't remember Andrei or Walter every discussing 
about this problem or proposing solutions...

Bye,
bearophile


More information about the Digitalmars-d mailing list