This post will describe the basics of a very powerful feature of the D programming language: the Compile-time Function Execution (CTFE), which allows complicated functions to be fully evaluated at compile-time, irrespective of the optimization levels. C optimizations If you are an average C programmer, you know that simple code can be trusted to be [...]