Generate and execute native code at run time, from Python