3 ms·
> 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.
by masklinn 4y 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.
- throwaway2037 4y agoThis is an interesting comment. Is there a webpage where I can read more about this idea?
- sph 4y agoPerhaps https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...
- throwaway2037 4y agoThat 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!
- qaq 4y agoExactly don't have to deal with red/blue functions