I was invited to speak at the try! Swift Tokyo conference about Swift on Android. Since I’m something like only 1 of 4 people in the world who know anything about this, I eventually got asked.
The talk went extremely well. Even though it was by far the longest talk of the conference (slotted for 45 minutes instead of the usual 20), attendees told me it went by fast. It also provoked a lot of strong responses such as “unforgettable” and “intense”.
Swift on Android covers a lot of ground including:
- The Android NDK
- C++ issues
- Dependency issues
- The Android SDK & Java JNI
- Build systems / CMake
- Cross-platform app development & libraries
- SDL (games)
- Nuklear (non-native GUI)
- IUP (native GUI)
- Blurrr SDK
- Carlos Icaza tribute / Dance of the Fairies
I also used this opportunity to introduce Blurrr SDK, which is what I’ve been working on to make cross-platform Swift development a reality. And this is the reason why I know about this topic.
And I used this opportunity to remember my friend, mentor, and former co-founder, Carlos Icaza, who unexpectedly passed away this summer. He was known as @CodingInSwift with over 18,000 Twitter followers. So with over 700 Swift developers attending try! Swift and probably not aware of why his channel went silent, this was the moment I needed to do this. My speech ends with my Dance of the Fairies “demo” tribute, obviously made with Blurrr.
But you can watch the full presentation for yourself. Thanks to the good people at Realm, they have hosted the video and provided captioning.
(Note: Realm invented the tagline/subtitle on their page. It is not in the talk.)
You can also download a PDF copy of my slides here.
I am eternally grateful to Natasha the Robot (of try! Swift) for making this happen. This was my first time to Japan, and it was an incredible experience for me.
On the last day of the conference (Hackathon day), I taught a workshop, Introduction to cross-platform 2D Game Programming with SDL. (Blurrr provided the infrastructure to get everybody building real projects in a matter of minutes.)
I was very nervous about teaching the workshop. I worked up to the wire for both the Swift on Android talk and writing Dance of the Fairies. (I was a bit paranoid about things going wrong, so I prepared backup plans for everything in my talk, including a pre-recorded video they could play in case I got hit by a bus or something. I think I was the only speaker who did that.) So I continued frantically working on the lesson plan and code examples on my flight over.
Final lesson (shaders with SDL_gpu and GLSL: ripple effect)
But I had fantastic students and we all had a lot of fun.
The last image cracks me up. I ship a high quality Flappy Bird clone implementation with the SDK as example code. They quickly hacked it to use the try! Swift Tokyo mascot, Riko, and made the pipes fat to match.
A big thank you to all my wonderful students for making this such a great experience!
Other Related Talks
I was preparing for this talk for quite a few months. So there are other talks that may be of interest.
First, I had to implement all those native backends for IUP you saw in the talk. Because I’m serious about this work, I made a video presentation for the IUP community proposing how the iOS and Android backends will work.
IUP (Portable User Interface) for Android & iOS
Next, I presented two talks at the Lua Workshop 2016 in San Francisco.
My other talk is “The History & Design of LuaCocoa”. Since this is a Swift-related entry, some of you may find this interesting since LuaCocoa dives deep into the Objective-C runtime. LuaCocoa also has a lot of personal connections for me because I wrote the bulk of it while my mother was dying from GIST Cancer.