Hacker News new | ask | show | jobs
by masklinn 1356 days ago
> Async code is way nicer in Go than it is in Rust.

That’s because Go does not have async code. It has sync code on an async runtime. Like e.g. Erlang/Elixir.

2 comments

Exactly don't have to deal with red/blue functions
This is an interesting comment. Is there a webpage where I can read more about this idea?
That guy is a lengendary blogger! And I have read that post. It was very eye opening. I always struggle when I write an (internal) API that has sync (blocking) and async (non-blocking) sections and methods. It quickly becomes very difficult to reason about!