by aboutruby · 7y ago · 0 comments
This distinction is important.
It has a lot of similarity, but it's not the same.
There is simply no way of knowing enough to optimize when compiling a python script comparing to rust for example.
Language depth has a cost though in terms of raw productivity, that is why there are languages like matlab that are there simply for prototyping and nobody in their right mind would use it for production purposes
JIT with type specialization can do exactly that. It's all about whether the runtime cost is worth it.