Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Rusky
on May 29, 2019
|
parent
|
context
|
favorite
| on:
Update on await syntax in Rust
It doesn't do anything locally but it does (as part of going back to the executor) let arbitrary other code run, which is basically what a method call does.
lilyball
on May 29, 2019
[–]
That's covered under the whole "erasing the notion of blocking on an operation".
And besides, conceptually that's no different than yielding back to the OS thread scheduler.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: