[swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 app?
Jens Alfke
jens at mooseyard.com
Mon Jun 27 10:39:32 CDT 2016
> On Jun 27, 2016, at 8:30 AM, Daniel Dunbar via swift-users <swift-users at swift.org> wrote:
>
> No, this is not possible. All of the code in a single process needs to be compiled with the same version of Swift.
How long will this be the case? The product I work on is distributed primarily as a compiled framework. If we port any of it to Swift we’d first need some assurance of binary compatibility.
(Also, if you really mean all of the code in a process, that implies that Apple can’t implement any system frameworks in Swift. So it seems that this question ties in with the earlier one of “how long do we have to copy multi-megabyte compatibility shim libraries into our apps that use Swift?”)
((At the risk of sounding flamey: this sort of confirms my rule of thumb that Swift version numbers have their decimal points misplaced. IMHO, ABI stability is a requirement for a true 1.0 release of a language that has dynamic loading.))
—Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160627/e5bff010/attachment.html>
More information about the swift-users
mailing list