~/talk

J2ObjC. Cross platform development Google way

Talkat GDG DevFest Ukraine 2016 · 2016-09-09..09-10· [android]
speakerdeck:zasadnyy
slides:none on file

J2ObjC translates Java business logic into Objective‑C source so one shared Java module feeds Android and iOS, adding about 3 MB binary overhead and preserving Java 7 features with Java 8 work in progress; Gradle plugin exists but is unofficial (team maintains a fork). Cross‑compiled code debugs if Xcode project is generated, performance matches or beats native in benchmarks, and real projects cut iteration time dramatically — build time cut from 6 to <2 minutes after tuning — but it requires near‑100% unit test coverage.

AI-written summary · about

  1. 0:00Introduction to cross-platform
  2. 1:10J2ObjC overview and Google's use
  3. 2:12Our SDK challenges and needs
  4. 4:42Why we chose J2ObjC
  5. 6:51What J2ObjC actually is
  6. 7:56What J2ObjC is not
  7. 9:22J2ObjC language support
  8. 10:05Native code embedding
  9. 11:30Gradle plugin setup
  10. 14:03Android project setup
  11. 14:26iOS project setup options
  12. 15:53Debugging generated code
  13. 16:55Cross-compilation architectures
  14. 17:16Build time optimizations
  15. 18:41Project structure and architecture
  16. 20:27Using third-party libraries
  17. 21:32Library inclusion methods
  18. 22:56Supported libraries overview
  19. 24:00Testing cross-compiled code
  20. 25:24Testing challenges
  21. 26:27Objective-C naming issues
  22. 27:31Mapping Java to Objective-C
  23. 28:58Wrapping ugly names
  24. 29:18Performance impact
  25. 30:21Memory and size impact
  26. 31:51Reducing binary size
  27. 32:33Development time savings
  28. 33:16Team hiring implications
  29. 33:38Pros and cons summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.