Reasons why I remain skeptical:

Unclear QA

How to ensure quality of this feature? Say I run an SDL2 game at compile-time, 
it crashes, now what? How do I debug that? Can I close these bug reports as 
"won't fix"?

Use Cases

What are the use cases? What is it you need to do at compile-time that's 
otherwise impossible? In the past I've seen an over-use of CTFE causing bugs 
and problems. The primary motivation for CTFE in Nim is Nim's macro system, the 
full VM was designed for macro evaluation. For the other use cases we could 
come up with a better `staticExec` mechanism so that we generate Nim source 
code as an intermediate step. This code can then be checked-in and is not 
machine specific. A mechanism like that could also make `#defines` importable 
as `const`, an often requested feature. 

Reply via email to