[swift-dev] Official Docker Image & "Blessing"s of Community Platforms

2015-12-29 Thread Thomas Catterall via swift-dev
Hi all, You might want to settle down with a glass of eggnog to read this, it's a long one. Myself and Haris Amin (CC'd), as you may know, have been building a community of users who want to use Swift inside Docker containers (https://github.com/swiftdocker/docker-swift) and maintain an image,

Re: [swift-dev] Official Docker Image & "Blessing"s of Community Platforms

2015-12-29 Thread Jeremy Fergason via swift-dev
I think this is a timely discussion.  I’ve been working on putting together packages for Fedora and RHEL/CentOS 6/7.  The RHEL series tends to be quite slow on updating packages so building is a bit tricky.  It would be nice if users at swift.org had just a quick reference to where the packages

[swift-dev] SIL: "unowned" the calling convention and "unowned" the variable ownership convention

2015-12-29 Thread Michael Gottesman via swift-dev
One form of overloading that we currently have at the SIL level are the notions of the "unowned" calling convention and "unowned" the variable ownership convention. For those who are unfamiliar with the unowned calling convention consider the following: @tmp : $@convention(thin) (@owned Array,

[swift-dev] Distinguishing classes from value types/ObjC bridged types?

2015-12-29 Thread Austin Zheng via swift-dev
Hello, First, some background. I'm currently working on refactoring the way mirrors are handled within the Swift standard library (conversion from use of _Reflectable and _MirrorType to CustomReflectable). Note that the _MirrorType protocol exposes an 'objectIdentifier' property which is only rel

Re: [swift-dev] Distinguishing classes from value types/ObjC bridged types?

2015-12-29 Thread Joe Groff via swift-dev
> On Dec 29, 2015, at 4:50 PM, Austin Zheng via swift-dev > wrote: > > Hello, > > First, some background. I'm currently working on refactoring the way mirrors > are handled within the Swift standard library (conversion from use of > _Reflectable and _MirrorType to CustomReflectable). > > No

Re: [swift-dev] Distinguishing classes from value types/ObjC bridged types?

2015-12-29 Thread Austin Zheng via swift-dev
Perfect! Thanks so much, I'll try that out. Austin > On Dec 29, 2015, at 5:31 PM, Joe Groff wrote: > > >> On Dec 29, 2015, at 4:50 PM, Austin Zheng via swift-dev >> wrote: >> >> Hello, >> >> First, some background. I'm currently working on refactoring the way mirrors >> are handled within

[swift-dev] ExistentialMetatypeType assertion failure on Linux

2015-12-29 Thread Luke Howard via swift-dev
I’m seeing an assertion failure when I try to compile the following on Linux: typealias TypeMetadataAccessor = @convention(c) () -> AnyClass? The assertion failing is: assert(getASTContext().LangOpts.EnableObjCInterop || *repr != MetatypeRepresentation::ObjC); in Existent