News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by miraculixx on Friday July 28, 2023 @09:17PM (#36915727)
I kept making this point as well as the other arguments above (and others did too) in the Core Dev discussion group. Unfortuately to no avail. To be sure I am not a core dev.
Re:No-GIL mode coming for Python by matsemann on Saturday July 29, 2023 @02:10AM (#36917414)
Well I don't agree that just because one needs >1 servers, no-gil is suddenly useless.

Still lots of complexity and awkwardness that can be avoided if you can do threading instead of processes. Like Promotheus scraping from a non-webserver python app is a pita, as you need a new process and lots of communication, vs just plug and play as in other languages.

Or just the insane resource usage. Had a java app serving multiple orders of magnitude more customers running on a few containers. Our current python app needs multiple deployments with different entry points, and about 15x the amount of containers.

Re:No-GIL mode coming for Python by slt2021 on Saturday July 29, 2023 @03:43AM (#36917870)
It is not fair to compare CPython (which is on purpose not optimized, only a reference implementation of interpretable scripting language without any focus on performance) to OpenJDK - an arguably state of the art compiled bytecode VM with JIT and AOT compilers available, with decades and many $millions poured into runtime/JIT/GC/etc research and optimization
Re:No-GIL mode coming for Python by lozenge on Saturday July 29, 2023 @04:41AM (#36918214)
"on purpose not optimized, only a reference implementation of interpretable scripting language without any focus on performance"

That policy is over.

As the last years have shown, no alternative implementation can get off the ground due to C extensions and compatibility concerns, and CPython is now relied on for many large applications. It no longer makes sense to prioritise a simple implementation over performance.

Re:No-GIL mode coming for Python by matsemann on Saturday July 29, 2023 @05:43AM (#36918521)
Why is it not fair? I need to choose a tool, how it came to be is irrelevant for me.
Re:No-GIL mode coming for Python by fred123 on Saturday July 29, 2023 @02:59AM (#36917640)
Do you think Meta (Instagram) are pushing GIL removal and Cinder for no reason? They clearly have that scale and still benefit from faster single machine performance
Re:No-GIL mode coming for Python by miraculixx on Saturday July 29, 2023 @05:30AM (#36918450)
Yes they will benefit from this. Unfortunately most everyone else will suffer.