Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben-schaaf
on Dec 5, 2023
|
parent
|
context
|
favorite
| on:
Common Rust Lifetime Misconceptions (2020)
Doesn't tokio have a single-threaded runtime where that's not needed?
zackangelo
on Dec 5, 2023
[–]
Yes but Send + Sync is required everywhere regardless.
vgatherps
on Dec 5, 2023
|
parent
[–]
This is not true, you can run non-send futures using Tokio:
https://docs.rs/tokio/latest/tokio/task/struct.LocalSet.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: