Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Geordie Jay via swift-dev
>> On Dec 11, 2015, at 9:03 AM, Geordie Jay > > wrote: >> >> Hi Joe, >> I was just commenting on your @_cdecl commit on GitHub but I’ll keep the >> discussion here. >> >> I was wondering what it is about your implementation that makes it rely on >> ObjC interop, as you

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Geordie Jay via swift-dev
Hi @zhuowei. I have been (somewhat verbosely) documenting my progress getting your SwiftAndroid build working on the reddit thread here https://www.reddit.com/r/swift/comments/3w0xrd/im_patching_the_opensource_swift_compiler_to/

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Geordie Jay via swift-dev
Hi Joe, I was just commenting on your @_cdecl commit on GitHub but I’ll keep the discussion here. I was wondering what it is about your implementation that makes it rely on ObjC interop, as you noted. And whether this dependency can be removed for a quick and dirty proof of concept, or whet

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Joe Groff via swift-dev
> On Dec 11, 2015, at 7:13 AM, Douglas Gregor via swift-dev > wrote: > > >> On Dec 11, 2015, at 4:33 AM, Geordie Jay via swift-dev >> wrote: >> >> Hi, maybe one of the Apple devs can help out with this quick Q: >> >> To interface with the JNI, we’d presumably need to call swift functions f

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Slava Pestov via swift-dev
> On Dec 11, 2015, at 4:33 AM, Geordie Jay via swift-dev > wrote: > > Hi, maybe one of the Apple devs can help out with this quick Q: > > To interface with the JNI, we’d presumably need to call swift functions from > our compiled swift binaries from C (or directly from Java, the result being

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-11 Thread Douglas Gregor via swift-dev
> On Dec 11, 2015, at 4:33 AM, Geordie Jay via swift-dev > wrote: > > Hi, maybe one of the Apple devs can help out with this quick Q: > > To interface with the JNI, we’d presumably need to call swift functions from > our compiled swift binaries from C (or directly from Java, the result being

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-09 Thread Joe Groff via swift-dev
> On Dec 8, 2015, at 8:57 PM, Chris Lattner via swift-dev > wrote: > > On Dec 8, 2015, at 8:50 PM, Zhuowei Z via swift-dev > wrote: >> I'm currently working on adding support to the Swift compiler to allow it to >> target Android. > > Cool. Responding to one spec

Re: [swift-dev] Proof-of-concept port of Swift for Android

2015-12-08 Thread Chris Lattner via swift-dev
On Dec 8, 2015, at 8:50 PM, Zhuowei Z via swift-dev wrote: > I'm currently working on adding support to the Swift compiler to allow it to > target Android. Cool. Responding to one specific issue: > - What's the role of the special linker script, and what's the purpose of the > conformance tab