Hacker News new | ask | show | jobs
by ambivalence 1775 days ago
There are quite a few inaccuracies here.

Guido is now working on Python performance at Microsoft and is not the BDFL anymore. Instead, there is a five-person Steering Council overseeing Python.

The best C/C++ interaction options include Cython, cffi, and pybind11. None of those are mentioned. I don't know anybody still recommending SWIG.

No mention for FastAPI or asyncio is a big omission in the Web backend use case. Relatedly, the article still recommends Requests when the community is largely moving to httpx which supports both blocking and async networking.

For packaging, the author mentions and links to Conan (a C++ package manager) which sounds like he misheard Conda.

He's also saying that the easiest way to get Python on Windows is chocolatey. Well, if you type "python" into a command prompt on a fresh install of Windows, it will take you to the Windows Store where you can install the latest Python release with one click. For many users this gotta be easier than figuring out chocolatey.

There is no discussion on "Python, the language" and its state in 2021. I was looking forward to a discussion on that.

I don't mean to pile on but the definitive title sounded like we'd get something pretty authoritative. This ain't that.

3 comments

Relatedly, the article still recommends Requests when the community is largely moving to httpx which supports both blocking and async networking.

And is still in beta. It's got potential, not least because it borrows much of what makes requests good, but "the community is largely moving to httpx" is a stretch.

At 4.2 million downloads per month, it's not exactly a prototype toy either.
I don't know where that figure came from or what it tells us. Looking at the PyPI stats for httpx and requests, the latter remains much higher across the board for now.

None of that is important anyway. Requests is an excellent library. Httpx appears to be becoming another excellent library and a natural successor. I'm just saying we shouldn't overhype something new before it's ready. Running beta dependencies in production is a risky business.

Thanks for the httpx info. Im still using requests but have been looking for a none-blocking option.

With regards to installing via the windows store, I've been told by others in various programmer communities that this isn't the best idea. It doesn't add things to the PATH properly and is a pain to sort out.

I either install it from the python website or using scoop.

The author clearly isn't as well informed as he thinks himself to be. And what a smug jab at Django... Better refer his blogpost to the dumpster where it belongs.