Compiling_and_Generating_Code
Code compilation
Mathematica code is by default interpreted by the Mathematica kernel
The kernel can also compile a subset of Mathematica code for better performance
e.g. approximate π numerically
Truncate this sum at n terms
Generating code
JIT Compilation
Suppose we want to roll our own JIT compilation
We want to speed up Select, which returns those elements of a list that match a pattern