4 ms·
> nothing about either language makes one inherently faster than the other You can't make such a statement confidently unless you examine the specs of both lan
by cousin_it 14y ago
> nothing about either language makes one inherently faster than the other
You can't make such a statement confidently unless you examine the specs of both languages.
For example, Python integers promote to bigints automatically while JS numbers don't. For one more, in Python you can overload attribute access, while in JS you can't. Both of these are language features rather than implementation details, and both potentially affect performance. There are probably others.