4 ms·
nice comment! how does enforcing type system help improve the performance? is there any article that sheds more light? also, did you mean static typing instead
by asgs 9y ago
nice comment! how does enforcing type system help improve the performance? is there any article that sheds more light? also, did you mean static typing instead of strong?
- khedoros1 9y agoStatic typing means that typechecking can be done at compile-time, and optimizations can be applied then. Dynamic typing generally means that some runtime layer needs to do typechecking during execution. So, as a rule of thumb, it's usually assumed that a statically-typed language will be faster than a dynamically-typed one.