Re:Swift 3.0 Unsafe World
by kbsletten on Tuesday September 27, 2016 @10:26AM
(#12589789)
Also, if we're talking about passing pointers to objects to C code, GC frequently moves objects in memory which will invalidate the pointer. It's not possible to reliably predict when this will happen, so you need extra language support for pinning to do any of the things in this tutorial without accessing invalid memory.
[ Parent
| on HN ]
There are no comments on this comment yet.