3 ms·
There are some fundamental problems with making dynamic languages run fast. Being able to prove that some variable will never contain anything other than a 32 b
by fauigerzigerk 17y ago
There are some fundamental problems with making dynamic languages run fast. Being able to prove that some variable will never contain anything other than a 32 bit int allows the compiler/JIT to do things that it cannot otherwise do.
The only way to make dynamic languages as fast as statically typed languages is to selectively remove dynamic features. A few type hints can make a huge difference.