Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Andrew Trick via swift-dev
> On Jul 28, 2017, at 8:13 PM, John McCall wrote: > >> On Jul 28, 2017, at 11:11 PM, John McCall via swift-dev > > wrote: >>> On Jul 28, 2017, at 10:38 PM, Andrew Trick >> > wrote: On Jul 28, 2017, at 3:15 PM, John McCall >>>

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 11:11 PM, John McCall via swift-dev > wrote: >> On Jul 28, 2017, at 10:38 PM, Andrew Trick > > wrote: >>> On Jul 28, 2017, at 3:15 PM, John McCall >> > wrote: On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev >>

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 10:38 PM, Andrew Trick wrote: >> On Jul 28, 2017, at 3:15 PM, John McCall > > wrote: >>> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev >>> mailto:swift-dev@swift.org>> wrote: >>> >>> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Andrew Trick via swift-dev
> On Jul 28, 2017, at 3:15 PM, John McCall wrote: > >> >> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev >> wrote: >> >> >>> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev >>> wrote: >>> >>> The Swift runtime currently maintains globally unique pointer identities >>> for

[swift-dev] [Swift CI] Build Failure: OSS - Swift Package - OS X (master) #3876

2017-07-28 Thread no-reply--- via swift-dev
Title: Report [FAILURE] oss-swift-package-osx [#3876] Build URL:https://ci.swift.org/job/oss-swift-package-osx/3876/ Project:oss-swift-package-osx Date of build:Fri, 28 Jul 2017 17:01:57 -0700 Build duration:55 min Identified problems:Compile Error: This build failed beca

[swift-dev] [Swift CI] Build Failure: OSS - Swift Package - OS X (swift 4.0) #607

2017-07-28 Thread no-reply--- via swift-dev
Title: Report [FAILURE] oss-swift-4.0-package-osx [#607] Build URL:https://ci.swift.org/job/oss-swift-4.0-package-osx/607/ Project:oss-swift-4.0-package-osx Date of build:Fri, 28 Jul 2017 16:48:40 -0700 Build duration:54 min Identified problems:Compile Error: This build f

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 7:45 PM, Joe Groff wrote: >> On Jul 28, 2017, at 4:30 PM, John McCall > > wrote: >> >>> On Jul 28, 2017, at 7:11 PM, Joe Groff >> > wrote: On Jul 28, 2017, at 3:54 PM, John McCall >>> > wrote

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 4:30 PM, John McCall wrote: > >> On Jul 28, 2017, at 7:11 PM, Joe Groff > > wrote: >>> On Jul 28, 2017, at 3:54 PM, John McCall >> > wrote: On Jul 28, 2017, at 6:34 PM, Joe Groff >>> > wrote:

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 4:27 PM, Jonathan Hull wrote: > > Is there a way to split the difference? > > You would still have a repository of canonical metadata, but you could have > another non-unique structure which can be used for most cases without having > to go get the canonical version. Yo

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 7:11 PM, Joe Groff wrote: >> On Jul 28, 2017, at 3:54 PM, John McCall > > wrote: >>> On Jul 28, 2017, at 6:34 PM, Joe Groff >> > wrote: On Jul 28, 2017, at 3:30 PM, John McCall >>> > wrote: >>

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Jonathan Hull via swift-dev
Is there a way to split the difference? You would still have a repository of canonical metadata, but you could have another non-unique structure which can be used for most cases without having to go get the canonical version. You could use the non-unique structure to lookup the canonical versi

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 3:54 PM, John McCall wrote: > >> On Jul 28, 2017, at 6:34 PM, Joe Groff wrote: >>> On Jul 28, 2017, at 3:30 PM, John McCall wrote: On Jul 28, 2017, at 6:24 PM, Joe Groff wrote: > On Jul 28, 2017, at 3:15 PM, John McCall wrote: > > >> On Jul 28, 20

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 7:07 PM, Jordan Rose wrote: >> On Jul 28, 2017, at 16:03, Joe Groff > > wrote: >>> On Jul 28, 2017, at 3:59 PM, Jordan Rose >> > wrote: >>> >>> >>> On Jul 28, 2017, at 15:35, Joe Groff via swift-dev >>>

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Jordan Rose via swift-dev
> On Jul 28, 2017, at 16:03, Joe Groff wrote: > > >> On Jul 28, 2017, at 3:59 PM, Jordan Rose > > wrote: >> >> >> >>> On Jul 28, 2017, at 15:35, Joe Groff via swift-dev >> > wrote: >>> On Jul 28, 2017, at 3:30 PM, John Mc

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 3:59 PM, Jordan Rose wrote: > > > >> On Jul 28, 2017, at 15:35, Joe Groff via swift-dev > > wrote: >> >>> >>> On Jul 28, 2017, at 3:30 PM, John McCall >> > wrote: >>> On Jul 28, 2017, at 6:24 PM, Joe Groff >>>

Re: [swift-dev] CI outage today

2017-07-28 Thread Mishal Shah via swift-dev
Upgrade completed. Thanks, Mishal Shah > On Jul 28, 2017, at 10:48 AM, Nicole Jacque via swift-dev > mailto:swift-dev@swift.org>> wrote: > > Hi All- > > This afternoon, we will be temporarily bringing down the CI, starting around > 1 PM, California time, in order to upgrade to the latest Xco

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Jordan Rose via swift-dev
> On Jul 28, 2017, at 15:35, Joe Groff via swift-dev > wrote: > >> >> On Jul 28, 2017, at 3:30 PM, John McCall wrote: >> >>> On Jul 28, 2017, at 6:24 PM, Joe Groff wrote: On Jul 28, 2017, at 3:15 PM, John McCall wrote: > On Jul 28, 2017, at 6:02 PM, Andrew Trick via s

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 6:34 PM, Joe Groff wrote: >> On Jul 28, 2017, at 3:30 PM, John McCall wrote: >>> On Jul 28, 2017, at 6:24 PM, Joe Groff wrote: On Jul 28, 2017, at 3:15 PM, John McCall wrote: > On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev > wrote:

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 3:30 PM, John McCall wrote: > >> On Jul 28, 2017, at 6:24 PM, Joe Groff wrote: >>> On Jul 28, 2017, at 3:15 PM, John McCall wrote: >>> >>> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev wrote: > On Jul 28, 2017, at 2:20 PM, Joe Groff

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 6:24 PM, Joe Groff wrote: >> On Jul 28, 2017, at 3:15 PM, John McCall wrote: >> >> >>> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev >>> wrote: >>> >>> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev wrote: The Swift runtime curren

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 3:15 PM, John McCall wrote: > > >> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev >> wrote: >> >> >>> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev >>> wrote: >>> >>> The Swift runtime currently maintains globally unique pointer identities >>> for t

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
> On Jul 28, 2017, at 2:53 PM, Michael Ilseman wrote: > > >> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev >> wrote: >> >> The Swift runtime currently maintains globally unique pointer identities for >> type metadata and protocol conformances. This makes checking type >> equivalence

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread John McCall via swift-dev
> On Jul 28, 2017, at 6:02 PM, Andrew Trick via swift-dev > wrote: > > >> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev >> wrote: >> >> The Swift runtime currently maintains globally unique pointer identities for >> type metadata and protocol conformances. This makes checking type

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Andrew Trick via swift-dev
> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev > wrote: > > The Swift runtime currently maintains globally unique pointer identities for > type metadata and protocol conformances. This makes checking type equivalence > a trivial pointer equality comparison, but most operations on gene

Re: [swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Michael Ilseman via swift-dev
> On Jul 28, 2017, at 2:20 PM, Joe Groff via swift-dev > wrote: > > The Swift runtime currently maintains globally unique pointer identities for > type metadata and protocol conformances. This makes checking type equivalence > a trivial pointer equality comparison, but most operations on gene

[swift-dev] Reconsidering the global uniqueness of type metadata and protocol conformance instances

2017-07-28 Thread Joe Groff via swift-dev
The Swift runtime currently maintains globally unique pointer identities for type metadata and protocol conformances. This makes checking type equivalence a trivial pointer equality comparison, but most operations on generic values do not really care about exact type identity and only need to in

[swift-dev] CI outage today

2017-07-28 Thread Nicole Jacque via swift-dev
Hi All- This afternoon, we will be temporarily bringing down the CI, starting around 1 PM, California time, in order to upgrade to the latest Xcode beta and the associated SDKs. We will also be briefly locking master while we land some source changes in support of the updated SDKs on both mast