News for hackers. Stuff that matters.
Re:Python 3.13 Gets a JIT by soulbadguy on Tuesday January 09, 2024 @04:30PM (#38932379)
> Javascript is a less dynamic language than Python

I have seen this mentioned multiple times, someone as a good reference explaining what makes python more dynamic than JS ?

Re:Python 3.13 Gets a JIT by IshKebab on Wednesday January 10, 2024 @12:44PM (#38941082)
It just has many features that can be overridden with Python code so they can have any behaviour at runtime. For example when you access an object attribute it can literally do anything: https://docs.python.org/3/reference/datamodel.html#customizi...

You could probably optimistically optimise some code, assuming it doesn't use any of the dynamic features of Python. You're going to get crazy performance cliffs though.