> On May 25, 2016, at 8:54 PM, Robert Nikander via swift-users
> <[email protected]> wrote:
>
> has there been any discussion about doing something in Swift like Java’s
> “verified” code, where you can load a 3rd party plugin and trust that it’s
> not going to segfault or call some C-library?
Any Swift code can abort the process by failing an assertion, or by calling a
library function in a way that will cause it to fail an assertion (e.g. by
accessing an out-of-bounds array element.) Swift isn’t designed as a “safe”
language.
—Jens
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users