Live data from Hacker News

Python 3.14 is here. How fast is it?

blog.miguelgrinberg.com

291–300 of 579 posts

Re: Python 3.14 is here. How fast is it?

#291
post #74

What are the reasons why nobody uses pypy?

Because in the real world, for code where performance is needed, you run the profiler and either find that the time is spent on I/O, or that the time is spent inside native code.

IRL you will have CPU-bottlenecked pure Python code too. But it's not enough to take on the unknown risk of switching to a lesser supported interpreter. Worst case you just put in the effort to convert the hot parts to multiprocessing.

Re: Python 3.14 is here. How fast is it?

#292
post #74

Earlier quoted context omitted.

Because in the real world, for code where performance is needed, you run the profiler and either find that the time is spent on I/O, or that the time is spent inside native code.

Also, that engineer time you would spend optimizing for performance costs more than just throwing more hardware at it.

That's the thing with single threaded CPU operations, you can't throw more hardware at it

Re: Python 3.14 is here. How fast is it?

#293
post #157

seems loved languages such as python & ruby (ZJIT | TruffuleRuby) have been getting a lot performance improvements lately. of course JS with v8 kickstarted this - followed by PHP. so for majority of us folks use what you love - the performance will come.

As someone who was a hardcore python fanboy for a long time, no, no it won't. There are classes of things that you can only reasonably do in a language like rust, or where go/kotlin will save you a crazy amount of pain. Python is fine for orchestration and prototyping, but if it's the only arrow you have in your quiver you're in trouble.

I even changed to JS as my fave for backends. Still using Py for other stuff ofc, but I'm constantly missing some of the JS niceties.

Re: Python 3.14 is here. How fast is it?

#294

Earlier quoted context omitted.

I hope they go Full Cracker Barrel on this: 1. Original logo has country charm and soul. 2. Replaced with a modern soulless logo. 3. Customer outrage! 4. Company (or open source project) comes to its senses and returns to old logo. https://media.nbcboston.com/2025/08/cracker-barrel-split.jpg (n.b. The Cracker Barrel Rebellion is sometimes associated with MAGA. I am very far from that, but I have to respect when peopl…

The Cracker Barrel "controversy" seems to have largely been fueled by bots.

Any source for that?

Re: Python 3.14 is here. How fast is it?

#296

Earlier quoted context omitted.

I hope they go Full Cracker Barrel on this: 1. Original logo has country charm and soul. 2. Replaced with a modern soulless logo. 3. Customer outrage! 4. Company (or open source project) comes to its senses and returns to old logo. https://media.nbcboston.com/2025/08/cracker-barrel-split.jpg (n.b. The Cracker Barrel Rebellion is sometimes associated with MAGA. I am very far from that, but I have to respect when peopl…

The Cracker Barrel "controversy" seems to have largely been fueled by bots.

Or the President.

Re: Python 3.14 is here. How fast is it?

#297
post #7

I'm thankful they included a compiled language for comparison, because most of the time when I see Python benchmarks, they measure against other versions of Python. But "fast python" is an oxymoron and 3.14 doesn't seem to really change that, which I feel most people expected given the language hasn't fundamentally changed. This isn't a bad thing; I don't think Python has to be or should be the fastest language in th…

I agree. Unless they make it like 10x faster it doesn't really change anything. It's still a language you only use if you absolutely don't care whatsoever about performance and can guarantee that you never will .

People use Python for things where performance matters, and it's fine

Re: Python 3.14 is here. How fast is it?

#298

tl;dr: Two orders of magnitude slower than Rust, so 2-3 orders slower than native. Python on a 2 GHz processor runs as fast as C on a 2-20 MHz processor.

*for very specific benchmarks, not "on average"

quick n dirty Python code will run faster than quick n dirty C++ code

Re: Python 3.14 is here. How fast is it?

#299
post #294

Earlier quoted context omitted.

The Cracker Barrel "controversy" seems to have largely been fueled by bots.

Any source for that?

https://www.nrn.com/casual-dining/cracker-barrel-s-logo-cont...

https://www.wsj.com/articles/bot-networks-are-helping-drag-c...

Re: Python 3.14 is here. How fast is it?

#300
post #10

Tangential, but I practically owe my life to this guy. He wrote the flask mega tutorial in what I followed religiously to launch my first website. Then right before launch, in the most critical part of my entire application; piping a fragged file in flask. He answered my stackoverflow question, I put his fix live, and the site went viral. Here's the link for posterity's sake https://stackoverflow.com/a/34391304/41802…

We fixed the typo in the first sentence: ow -> owe. Hope that's okay!

Edit: corrected typo in "typo".

Post reply on HN