Posted by zdw 4 days ago
1. It makes asynchronous programming look synchronous. I do not like things being other than they appear. The point was touched on with the:
getOrders(user.id),
getRecommendations(user.id)
example, but it is a serious thing when the v mental model is wrong2. On a related issue CPU bound code can block the thread of execution and stop any concurrency in its tracks
In Rust there is the added problem of shoehorning it into the memory model which has lead to a lot of hairy code and tortured paradigms (e.g. pin)
It's 2026 and I'm starting to hate the internet.
I play around with real time audio, and use state machine/event loop. A very powerful, if verbose, method to do real-time programming, I cannot see how asyc/await could achieve the same ends
The next decade will be a proliferation of hackers having fun with io_uring coming up with all sorts of patterns.