Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
usrbinbash
on July 5, 2023
|
parent
|
context
|
favorite
| on:
How to think about async/await in Rust
Exactly like that, but using blocking functions. Then I run the code in a worker pool or in a greenlet runtime. The kernel and runtime take care of putting threads to sleep when they hit blocking IO.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: