[swift-evolution] [Pitch] Importing Objective-C 'id' as Swift 'Any'
Chris Lattner
clattner at apple.com
Sat Jul 2 00:21:22 CDT 2016
> On Jul 1, 2016, at 9:11 PM, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
>
> +1!
>
> To me, it feels like the ambivalent dynamic casting is a temporary complexity, and that at some point in the future the need to expose legacy reference types like NSString outside swift-supplied or user-created bridging code will disappear completely.
>
> This also will get rid of some of the rough edges in the various corelibs where value types cannot be supported because some platforms have a backing library written in Objective-C. Swiftier indeed!
>
> Is this something you are pushing for in Swift 3? It seems appropriate but ambitious.
Yes, we’re trying for it. “Appropriate but ambitious” is an accurate assessment - this is a huge stretch by the entire team but Swift 3 is the right time for it.
-Chris
More information about the swift-evolution
mailing list