Apple and the Serpent: Writing native applications for Apple platforms in Python
summary
Claims that Python can produce truly native Apple apps and cross-platform mobile builds, with working toolchain pieces: Rubicon for transparent Objective‑C bridging via ctypes/ffi, cookiecutter templates and a small C stub to embed CPython, vo to compile Python into Java class files, and toga as an abstraction‑first native widget toolkit. Demos run on iOS simulator and device, a Python app (Podium) runs natively on macOS, vo output is indistinguishable from javac output, and Android faces a hard JNI limit (≈2,000 refs, hello‑world needs ~4,000) that the tooling explicitly works around.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:12Why Python for mobile
- 9:36Native iOS in Python
- 17:02Objective-C and Python bridge
- 22:57Swift and Python compatibility
- 25:50Native Android in Python
- 27:15Python to Java bytecode
- 32:12Cross-platform UI toolkits
- 37:06Toga framework demo
- 39:11Future of Beware project
- 40:14Call to action and conclusion
