by msdrigg · 5y ago · 0 comments
It looks like Swift is taking pointers from Rust. Specifically Rust's send/sync traits. There's even other keywords like unsafe in Swifts new `UnsafeSendable` for Sendable types that bypass compile time checks.
[0] https://old.reddit.com/r/rust/comments/7qels2/i_wonder_why_g...
In particular, John tends to get involved in a lot of interesting conversations, so he's great to find more people to follow.
Surely you meant borrowing.
Rust might have brought many interesting concepts into mainstream, however unsafe wasn't one of them.
I miss working with him, but there are lots of folks involved with Swift who think really deeply about this stuff. No complex feature is the work of any one person in isolation.
Swift has used the “Unsafe” prefix for a very long time to indicate things that break its safety model, see for example the UnsafePointer APIs.