News for hackers. Stuff that matters.
Re:How Python Asyncio Works: Recreating It from Scratch by jononomo on Tuesday May 07, 2024 @03:21AM (#40283203)
I'm also curious to know what the tragedy is.
Re:How Python Asyncio Works: Recreating It from Scratch by darthrupert on Tuesday May 07, 2024 @05:18AM (#40283701)
Dunno if they meant this, but I feel that adding async to a language/ecosystem where it was earlier not used makes everything awkward for a long time. Especially if it's done liberally like python did, with both sync and async styles still supported.

It feels like the worst of both worlds at times. I think Rust suffers from this too, whereas Node.js has managed to make async the default mode of operation for enough things that it doesn't feel so bad. Especially with Typescript.

Re:How Python Asyncio Works: Recreating It from Scratch by andrewstuart on Tuesday May 07, 2024 @07:54AM (#40284451)
>> whereas Node.js has managed to make async the default mode of operation for enough things that it doesn't feel so bad

Javascript is inherently async

Re:How Python Asyncio Works: Recreating It from Scratch by darthrupert on Saturday May 11, 2024 @03:55AM (#40326699)
Well yeah. That's probably why it feels better there.
Re:How Python Asyncio Works: Recreating It from Scratch by throwaway81523 on Tuesday May 07, 2024 @05:34AM (#40283772)
Obligatory video, NSFW (lots of swearing):

https://www.youtube.com/watch?v=bzkRVzciAZg

"Node.js is bad ass rock star tech".

Re:How Python Asyncio Works: Recreating It from Scratch by jononomo on Tuesday May 07, 2024 @07:46AM (#40284409)
I actually learned a lot from watching that video.