News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by usrbinbash on Monday June 27, 2022 @05:09AM (#31892176)
> I never understood how people consider go an alternative to python.

I work in both Python and Go. I love both languages. Here are a few reasons why I chose Go over Python for a lot of things these days:

Alot faster, self-contained executables instead of virtualenv, scales natively, no GIL, linear code in goroutines instead of asyncio.

Re:What's New in Python 3.11? by toyg on Monday June 27, 2022 @11:57AM (#31896382)
> self-contained executables

This really is the only practical area where Go is superior to Python. No messing with 3rd-party libs, no compromises, no hacks... Everything else is not really critical for most people, and largely not worth losing all the nicer features of Python for; if they could just fix it once and for all in stdlib, just blessing one compilation format and making it well-supported on all the big platforms, it would be a big step forward for the ecosystem.

Easier said that done, of course.

Re:What's New in Python 3.11? by Jcowell on Tuesday June 28, 2022 @12:43PM (#31910011)
Agreed. If python had a sensible self contain executable where I don’t have to fight and figure out how I’m going to share this program with it’s dependencies and imports I would use it over go in non speed needed applications.
Re:What's New in Python 3.11? by garyrob on Monday June 27, 2022 @08:57AM (#31893929)
I'm not associated with the nuitka folks, but I want to mention that I've successfully used it to make self-contained executables for python projects. I haven't used it for anything huge, but so far it's worked flawlessly.