What is Nostr?
Zhuowei Zhang /
npub1cpp…e7uy
2024-02-04 03:17:43

Zhuowei Zhang on Nostr: I have now read two hot takes, both pointing out how async/concurrency is impossible ...

I have now read two hot takes, both pointing out how async/concurrency is impossible to use, actually.

https://without.boats/blog/let-futures-be-futures/ (https://twitter.com/withoutboats/status/1753832397513048220 via https://twitter.com/mycoliza/status/1753848123074781655)

https://saagarjha.com/blog/2023/12/22/swift-concurrency-waits-for-no-one/
(https://federated.saagarjha.com/notice/Ad4kmXhU7mHBjNrq7M)

I give up: from now on, I'll run everything synchronously from a single main thread.
If I need to run two things at the same time, I'll buy another computer.
Author Public Key
npub1cppa6rw8av0n2zjc6yarum7k0nmtkka4d7qas3ndy0sqpjfz9u0sx9e7uy