logoalt Hacker News

osigurdsontoday at 3:32 PM2 repliesview on HN

At least Go didn't take the dark path of having async / await keywords. In C# that is a real nightmare and necessary to use sync over async anti-patterns unless willing to re-write everything. I'm glad Zig took this "colorless" approach.


Replies

rowanG077today at 3:54 PM

Where do you think the Io parameter comes from? If you change some function to do something async and now suddenly you require an Io instance. I don't see the difference between having to modify the call tree to be async vs modifying the call tree to pass in an Io token.

show 1 reply
neonsunsettoday at 4:29 PM

[dead]