News for hackers. Stuff that matters.
Re:Go runtime: 4 years later by masklinn on Tuesday September 27, 2022 @03:33AM (#32992477)
> 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.

Re:Go runtime: 4 years later by qaq on Tuesday September 27, 2022 @05:46AM (#32993303)
Exactly don't have to deal with red/blue functions
Re:Go runtime: 4 years later by throwaway2037 on Tuesday September 27, 2022 @04:54AM (#32992985)
This is an interesting comment. Is there a webpage where I can read more about this idea?
Re:Go runtime: 4 years later by sph on Tuesday September 27, 2022 @06:40AM (#32993603)
Re:Go runtime: 4 years later by throwaway2037 on Wednesday September 28, 2022 @09:26AM (#33007616)
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!