News for hackers. Stuff that matters.
Re:Python has had async for 10 years – why isn't it more pop... by throwawayffffas on Tuesday September 02, 2025 @06:05PM (#45109738)
No it was a js dev complaining about callbacks in node. Mainly because a lot of standard library code back then only came in callback flavour. i.e. no sync file writes, etc.
Re:Python has had async for 10 years – why isn't it more pop... by munificent on Tuesday September 02, 2025 @07:18PM (#45110369)
I wrote it. :)

Actually, I was and am primarily a Dart developer, not a JS developer. But function color is a problem in any language that uses that style of asynchrony: JS, Dart, etc.

Re:Python has had async for 10 years – why isn't it more pop... by LtWorf on Tuesday September 02, 2025 @06:47PM (#45110108)
Which is really funny because the linux kernel doesn't do async for file writes :D
Re:Python has had async for 10 years – why isn't it more pop... by yxhuvud on Wednesday September 03, 2025 @01:59AM (#45112644)
Uh, io_uring does that just fine.
Re:Python has had async for 10 years – why isn't it more pop... by LtWorf on Wednesday September 03, 2025 @01:59AM (#45112649)
That's yet another thing though.
Re:Python has had async for 10 years – why isn't it more pop... by yxhuvud on Friday September 05, 2025 @02:08AM (#45135437)
It is part of the kernel and it does async file writes, so I don't really understand your objection.