[swift-dev] [RFC] Finer grained OS checks

Greg Parker gparker at apple.com
Mon Jul 11 16:26:55 CDT 2016


> On Jul 11, 2016, at 9:50 AM, Karl Wagner via swift-dev <swift-dev at swift.org> wrote:
> 
> - Also don't like the simulator condition variable. The iOS simulator is literally x86 iOS. If there was an x86 iPhone, theoretically your binaries would be compatible. The fact that it runs on a simulator instead of a real device is not such a vital distinction (or shouldn't be) that we need integrate it in the language. What would we do in the future if there ever was a real x86 iOS target?

The iOS simulator is not literally x86 iOS. It has changed ABI in incompatible ways in the past and reserves the right to do so in the future. Any real x86 iOS would have a real ABI which would likely differ from today's simulator.


-- 
Greg Parker     gparker at apple.com <mailto:gparker at apple.com>     Runtime Wrangler


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160711/12dd7662/attachment.html>


More information about the swift-dev mailing list