why are statically typed languages faster?
A large class of errors are caught in the early stage of development process. Static typing usually results in compiled code that executes more quickly because when the compiler knows the exact data types that are in use, it can produce optimized machine code (i.e. faster and/or using less memory).