are dynamically typed languages slower?
Certain types of compile time optimizations can only be performed if a variable's exact type is known. Dynamically typed languages also often have added logic to determine the type and to ensure that the value is correct for the type. ... This is the main reason why dynamic typed languages are typically slower.