Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except, you never interact with the (os) threads. So it isn't complexity that the programmer deals with. Async/await also doesn't address data sharing, so we're not even talking about the same thing.

You can implement async/await-like code that emulates other languages in Go, but it would be a somewhat pointless exercise since you have channels, which offer a much safer and better mechanism for communicating state.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: