floss.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
For people who care about, support, and build Free, Libre, and Open Source Software (FLOSS).

Administered by:

Server stats:

685
active users

@JonYoder@mastodon.technology If you want a coffee with your reading, after that first link, you can check out changelog.complete.org/archive and changelog.complete.org/archive . The upshot of it is, as far as I can tell, it is impossible to write cross-platform code that handles filenames correctly on both POSIX and Windows. gets this right, and Python's attempt to assume the whole world has used since the beginning of time is a real pain.

The ChangelogThe Incredible Disaster of Python 3Update 2019-11-22: A successor article to this one dives into some of the underlying complaints. I have long noted issues with Python 3’s bytes/str separation, which is designed to have a typ…

@JonYoder@mastodon.technology You got me thinking in more detail why I reflexively avoid now, despite the fact that I wrote two large programs ( and ) in it, and published a book about it. 1/

@JonYoder@mastodon.technology It is astonishing to me that still has a Global Interpreter Lock in 2022. wiki.python.org/moin/GlobalInt Multithreading in Python is mostly a fiction. There are kludges like docs.python.org/3/library/mult which use fork, pipes, pickling, and message passing to simulate threads. But there are so many dragons down that path -- performance and platform-specific ones (different things can be pickled on Windows vs. Linux) that it is a poor substitute. 3/

wiki.python.orgGlobalInterpreterLock - Python Wiki

@JonYoder@mastodon.technology Sure, people use for things like work. In this case, Python is merely a shell; the real multithreaded code is in a different language (often C). The way to get performant multithreading out of Python is to not use Python at all. 4/

@jgoerzen @JonYoder I refuse to learn a new language unless it has some sort of multithreading built into it from the start. Even C / C++ multithreading is a nightmare hack. Julia and Go are my favorites these days

John Goerzen

@jdarnold @JonYoder@mastodon.technology Right now, I've been enjoying quite a bit, but both of those are also interesting and I'd love to find time to dive in more. Sadly time is limited for me right now...