currently there is no simple way to make compile-time var to exist at run-time.

some attempt has been taken place to enhance the compiler capability by 
enabling _all_ compile-time var exist at run-time. But that solution is not 
optimal, because not everyone want _all_ compile-time var also exist at 
run-time.

The idea to introduce new pragma to annotate compile-time var was rejected by 
araq. He said, the compiler must be smart enough to identify which compile-time 
var need to exist at run-time without introducing new pragma.

therefore, we need to make the compiler smarter. the compiler should be able to 
know which compile-time var accessed at both compile-time and run-time, and 
which one is accessed only at compile-time. the compiler then generate run-time 
code for the former and generate nothing for the latter.

Reply via email to