Bridging Foundation reference types on Linux

C interop usually; roundtripping through a context pointer or using an atomic CAS. I also remember a team member optimizing something through T: AnyObject due to bulk deallocation or something… I don't have all the context in my head, just that I know my Linux-compatible codebases have a few Box<T> in them still or use NS* types.

1 Like