3 ms·
In my opinion, compile time codegen is way better than runtime codegen. Unless you are exploring genetic algorithms, runtime codegen is slow, brittle, and undeb
by adgjlsfhk1 5y ago
In my opinion, compile time codegen is way better than runtime codegen. Unless you are exploring genetic algorithms, runtime codegen is slow, brittle, and undebugable. Compile time codegen, however, can produce ridiculously fast code (see FFTW), and is much easier to debug because you can look at the generated code.
- mwattsun 5y ago> brittle and undebuggable That's why I stopped doing it, but I totally get that in low level programming that it comes in very handy in some circumstances.