Re:Thread-per-core
by scottlamb on Friday October 06, 2023 @12:12PM
(#37792658)
It means spawned futures can't contain references that aren't 'static. But they can own memory. String for example is 'static. Likewise Vec<T>, Box<T>, Arc<T>, Rc<T>, etc. where T: 'static.
[ Parent
| on HN ]