logoalt Hacker News

winridyesterday at 3:41 PM8 repliesview on HN

The main benefit of python to me is that while slow, it's predictable. I do think they're going to get a lot more resistance to adding JITs, moving GCs, etc. it will become java with a million knobs to tune. If people want a JIT'd python just use pypy, right?


Replies

CamouflagedKiwitoday at 8:51 AM

PyPy is not looking healthy right now - it's several versions behind in support and, while it's not dead, it looks like it might be settling down for a rest.

Obviously it's not easy to move the whole language of a big codebase, but I feel a lot of this stuff (fiddling with GC, JITing, type hints, and I'm dubious about the free-threading stuff) tries to take Python somewhere it isn't really good at, and if that's what you want, you really want a different language.

pronyesterday at 4:33 PM

Java lost almost all those knobs a while ago (I mean they're there, but you're better off relying on the defaults). The modern GCs have one or at most two knobs remaining, and even that will become unnecessary next year. As to predictablity, you get maximal pause time of well under 1ms for heaps up to 16TB.

stackskiptonyesterday at 3:48 PM

As Python using SRE and supporting Python Flask apps, most of us would love JIT in Python assuming it pretty much drop in replacement.

PyPy doesn't have the support it needs and is stuck on 3.11.

davidkwastyesterday at 4:56 PM

It is the same for me. Predicability is better than any optimization.

zozbot234yesterday at 6:12 PM

Why not just use Go? It has a proper concurrent, non-moving GC that, AIUI, has not been associated with sudden memory spikes.

show 3 replies
bmitctoday at 8:28 AM

In what way do you feel Python is predictable, especially in comparison to other languages one would build a backend system in?

It's predictable vs Rust, C#, F#, Elixir, Go, etc.?

sigmoid10yesterday at 3:47 PM

And if people want python with java, there's always Jython.

show 3 replies
graemepyesterday at 4:18 PM

Resistance from anyone who matters to the developers?