Re: [swift-dev] [swift-users] Guarantees of Tuples as Fixed Sized (stack allocated) Arrays

2017-05-02 Thread John McCall via swift-dev
> On May 2, 2017, at 4:38 PM, Jordan Rose wrote: >> On Apr 28, 2017, at 16:28, John McCall via swift-users >> mailto:swift-us...@swift.org>> wrote: >> >>> On Apr 28, 2017, at 7:03 AM, Johannes Weiss via swift-dev >>> mailto:swift-dev@swift.org>> wrote: >>> Hi swift-users, >>> >>> (sorry for th

Re: [swift-dev] [swift-users] Guarantees of Tuples as Fixed Sized (stack allocated) Arrays

2017-05-02 Thread Jordan Rose via swift-dev
> On Apr 28, 2017, at 16:28, John McCall via swift-users > wrote: > >> On Apr 28, 2017, at 7:03 AM, Johannes Weiss via swift-dev >> mailto:swift-dev@swift.org>> wrote: >> Hi swift-users, >> >> (sorry for the cross post to swift-dev, but wasn't sure where it belongs) >> >> I tried to find gua

Re: [swift-dev] [swift-users] Guarantees of Tuples as Fixed Sized (stack allocated) Arrays

2017-04-28 Thread Johannes Weiss via swift-dev
Hi Martin, > On 28 Apr 2017, at 12:59, Martin R wrote: > > As far as I know, the only guarantee is made for structures imported from C. > From > https://lists.swift.org/pipermail/swift-users/Week-of-Mon-20160516/001968.html > : > >Swift structs have unspecified layout. If you depend on a