Announcement
Collapse
No announcement yet.
Python 3.11 Performance Benchmarks Are Looking Fantastic
Collapse
X
-
I'd like to see some RAM usage benchmark too. Historically RAM usage has been a big issue for python. For some work you can afford to wait an 20-40% more time, but if you run out of system memory you just need a better machine (or money to scale up your paid hosted system).
- Likes 1
-
Originally posted by ssokolow View Post
That's true, but, in this case, given that Java's annotations apparently came first, and finding "decorator pattern" when looking for an equivalent to that syntax makes things more difficult, I think it was a bad idea.
Leave a comment:
-
Originally posted by sinepgib View Post
To be fair, "decorator" is a more standard name for the feature, it comes from the old decorator pattern you would use in object oriented languages.
- Likes 2
Leave a comment:
-
Originally posted by JanC View PostThe game I play the most on my Android phone is written in Python.Originally posted by uid313 View PostNo, you don't, and not it isn't.
- Likes 1
Leave a comment:
-
Originally posted by ssokolow View PostHow is this different, aside from making it difficult for Python users to google for the same feature in other languages because "decorator" means something else elsewhere?
Leave a comment:
-
Originally posted by Mahboi View PostBut I believe that no matter what language it is, Time will get to it eventually. All languages age and reach the end of their "natural" growth and then only grow either in worse ways, or cut out things they used to do.
Leave a comment:
-
Originally posted by ssokolow View PostThey've tried to get rid of it multiple times over the last two decades and every attempt has tanked single-threaded performance so badly as to make it an unacceptable change. (Do you really want to get a speed up out of 8 cores if you need 2 or 3 of them just to match the performance you were getting out of one before?)
- Likes 1
Leave a comment:
-
Originally posted by blackshard View PostThe GIL! When the CPython interpreter will get into the third millennium?
1. It would break the ABI, every native extension would need recompiling, because The Right Way (TM) for managing the RCs is through macros;
2. Many extensions don't even use the macros and access the RC directly, so they'd need to adapt to the new way that uses two different counters (it's something like one for crossing thread boundaries and a local one or something like that).
Originally posted by Mahboi View PostThis is why Van Rossum left, isn't it? Disagreements on how to make it grow and what was "Pythonic" and wasn't.
Note he does still work on Python: he's actually the leader of the Microsoft team behind the "Faster CPython Project".
- Likes 1
Leave a comment:
-
Originally posted by schmidtbag View PostGimmicks like […] decorators make things harder for everyone who doesn't make a living off writing in Python.
How is this different, aside from making it difficult for Python users to google for the same feature in other languages because "decorator" means something else elsewhere?
- Likes 1
Leave a comment:
Leave a comment: