Python 3.14 Is Here. How Fast Is It? – Miguelgrinberg.com
Link: https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it
Discussion: https://news.ycombinator.com/item?id=45529764
@eniko @lisamelton I bet he said “I came here for an argument” and then it was downhill from there 🤣
#python #monty
🌗 Python 3.14 效能實測:速度表現如何?
➤ 深入解析 Python 3.14 的速度提升與新特性實測
✤ https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it
作者回顧先前關於 Python 效能的探討,並針對剛發布的 Python 3.14 進行了全面的效能基準測試。測試涵蓋了多個 Python 版本、Pypy、Node.js 和 Rust,並使用了遞迴的斐波那契數計算和非遞迴的氣泡排序兩個純 Python 腳本。測試環境包括 Linux 和 macOS 系統,並探討了 Python 3.13+ 新增的 JIT(即時編譯)和 Free-threading(多執行緒)解釋器選項。結果顯示 Python 3.14 在純 Python 程式碼的執行速度上相較於前一版本有顯著提升,但 JIT 和 Free-threading 在此特定測試中的效能優勢並不明顯,其中 Free-threading 在單執行緒場景下甚至略慢於標準解釋器。
+ 看到 P
#Python #效能測試 #程式語言
🛠️ Mới: PyPIPlus – công cụ web nhanh xem thông tin gói Python. Chỉ nhập tên gói, nhận ngay danh sách phụ thuộc, sub‑dependencies, điểm sức khỏe, giấy phép, phiên bản Python yêu cầu, số gói phụ thuộc và kích thước. Không cần cài đặt, đăng nhập, hỗ trợ cài offline, kiểm tra bảo mật và audit. #Python #PyPI #DevTools #CôngCụ #LậpTrình #BảoMật
Due to the laziness of reversed(), if we were to pass it lots of items (say 100,000 items) we won't end up copying the iterable that we gave it.
Read more 👉 https://trey.io/ur7l4g
💼 [Jobs] Senior Python Developer
https://jobs.django-news.com/556/senior-python-developer-basalt-health/
#Django #Python #Jobs #Hiring #TechIsHiring
💼 [Jobs] Senior Software Engineer (Python and Solidity)
https://jobs.django-news.com/554/senior-software-engineer-python-and-solidity-liquidfi/
#Django #Python #Jobs #Hiring #TechIsHiring
Tại sao lập trình phản ứng chưa phổ biến trong Python - Cách Signals có thể thay đổi điều đó. Lập trình phản ứng có thể trở thành xu hướng mới trong Python nhờ Signals. #ReactiveProgramming #Python #Signals #LậpTrìnhPhảnỨng #PythonProgramming #TinTứcCôngNghệ
https://bui.app/why-reactive-programming-hasnt-taken-off-in-python-and-how-signals-can-change-that/
Python 3.14 Is Here. How Fast Is It? – Miguelgrinberg.com
https://blog.miguelgrinberg.com/post/python-3-14-is-here-how-fast-is-it
from string import Formatter
a = 0
b = 1
print(f"{a or b}") # Works
print("{a or b}".format(a=0, b=1)) # Does not work
print(Formatter().format("{a or b}", a=0, b=1)) # Does not workFound something interesting out the hard way.
#Python
from string import Formatter
a = 0
b = 1
print(f"{a or b}") # Works
print("{a or b}".format(a=0, b=1)) # Does not work
print(Formatter().format("{a or b}", a=0, b=1)) # Does not work
Excited about this launch—check it out if you're a #Python developer.
https://honeybadger.social/@honeybadger/115344807662869894