←back to thread

46 points tosh | 1 comments | | HN request time: 0.2s | source
Show context
thomascountz ◴[] No.46186897[source]
I just nearly finish Ziglings and it's great! Though the skipped exercises around async is confusing as a newcomer. From the Codberg issues and PRs, it seems like perhaps an update is in the works. Otherwise, I learned a lot and would recommend it!
replies(2): >>46187578 #>>46192918 #
1. naikrovek ◴[] No.46187578[source]
async/await is confusing in every language it is implemented in. Whoever came up with this paradigm has (or at the time, had) zero idea about usability. It is the programming equivalent of the programmer user interface. Makes perfect sense to the one person because they wrote it; it’s an enormous pain for everyone else.

Raw threads and doing everything manually makes far more sense to me.

And of course Goroutines in Go make the most sense but they’re not as performant as something like Zig by any means.