Hacker News new | ask | show | jobs
by Matthias247 1856 days ago
I don't think so. coroutine awaits are just like normal function calls in Go (since all of Go functions are implicitely suspendable).

I guess you meant the "go" statement? That is more of a coroutine spawn thing, and this would be a separate function in C++ too.

1 comments

> since all of Go functions are implicitely suspendable

Right. we are saying the same thing about Go. The comparison was with those languages that have explicit async keyword.