News for hackers. Stuff that matters.
Re:Some were meant for C [pdf] by steveklabnik on Wednesday June 21, 2023 @05:26PM (#36424842)
(You’d never want the box in either of those situations, as the data is already boxed by the Arc or Rc)
Re:Some were meant for C [pdf] by arghwhat on Wednesday June 21, 2023 @05:57PM (#36425226)
Yeah got a bit carried away, and was stuck in C-ffi land where things get weird - Box::leak, ManualDrop, PhantomPin wrappers, all that.