News for hackers. Stuff that matters.
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.
Re:Thread-per-core by hjl22 on Saturday October 07, 2023 @01:45PM (#37803838)
Thanks for the explanation. I understand it now.