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

2015-12-11 Thread Geordie Jay via swift-dev
or 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 presum

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
>> 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

[swift-dev] Automatic function wrapping for C Module

2015-12-18 Thread Geordie Jay via swift-dev
Hi, First of all thanks to Joe Groff for his insight, pull request, and guidance re the @_cdecl attribute, which is important for what follows below. I’ve been working on a JNI (Java Native Interface) integration for the Android port of Swift (github.com/SwiftAndroid) with good results so far

[swift-dev] SwiftAndroid: Statically linking libicu and/or the stdlib?

2015-12-21 Thread Geordie Jay via swift-dev
Hi, I’m still working on the deployment and JNI side of SwiftAndroid (github.com/SwiftAndroid). After success with some basic tests I’ve started fleshing out a “Swifty” JNI interface and connected to some existing Swift library code I want to try out. Now I’m stuck and I hope someone with more

Re: [swift-dev] SwiftAndroid: Statically linking libicu and/or the stdlib?

2016-01-05 Thread Geordie Jay via swift-dev
6:13 PM, Geordie Jay via swift-dev < > swift-dev@swift.org> wrote: > >> ./utils/build-script -R --no-assertions -b -p --extra-swift-args >> build-swift-static-stdlib=1 >> > > This option builds static archives of the standard library, not a standard > library t

[swift-dev] SIMD in open source Swift?

2016-04-18 Thread Geordie Jay via swift-dev
Dear fellow Swift-Devvers, On Darwin we have a SIMD module, but I’m assuming (based on playing around with it in the past) that it is unavailable in open-source Swift. Does anyone know another way of using SIMD intrinsics in a cross-platform way (Linux-only would also do)? Also, is it a goal to

Re: [swift-dev] C API Annotations outside of original header?

2016-07-17 Thread Geordie Jay via swift-dev
Is it possible that apinotes only works for Objective C? The only docs I've seen regarding them explicitly mention ObjC repeatedly Saleem Abdulrasool schrieb am Mo., 18. Juli 2016 um 00:43: > On Sun, Jul 17, 2016 at 1:39 PM, Geordie J via swift-dev < > swift-dev@swift.org> wrote: > >> Hi, I’m hop

Re: [swift-dev] C API Annotations outside of original header?

2016-07-17 Thread Geordie Jay via swift-dev
I see they're also used for CoreGraphics, which was the example they showed at WWDC that put me onto the idea of using the annotations in the first place. I'll look into it, thanks for the idea! Saleem Abdulrasool schrieb am Mo., 18. Juli 2016 um 01:23: > On Sun, Jul 17, 2016 at 4:10 PM, Geordie

Re: [swift-dev] Foundation crashes on Android

2017-12-18 Thread Geordie Jay via swift-dev
Philippe Hausler schrieb am Mo. 18. Dez. 2017 um 18:44: > > On Dec 18, 2017, at 9:13 AM, Geordie J via swift-dev > wrote: > > Hello, > > I’m trying to get the latest version of Foundation working on Android. > Just looking to see if anyone has seen similar issues on other (esp. 32bit) > platform