~/talk

Getting Started with the Android NDK

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [android, c-and-cpp]
links:none on file

NDK now ships with C++17 support and Clang and compiles per-ABI (ARM64, x86) so builds must target specific instruction sets; JNI requires exact mangled names and signature strings, hence JNI method signature mangling and fragile runtime errors. Examples: a simple calculator offloads add to a native .so (live demo fails when names or signatures mismatch), a TensorFlow image classifier runs frames through native code via JNI and returns top results, and Cocos2d-x renders a 60fps native main loop with native YUV→ARGB conversion.

AI-written summary · about

  1. 0:00Introduction to Android NDK
  2. 1:09What is the Android NDK
  3. 4:00When to use the NDK
  4. 6:51Understanding ABIs
  5. 9:42Setting up C++ in Android Studio
  6. 12:15Calling C++ from Java
  7. 20:31Case studies for NDK use
  8. 24:26Game engines and OpenGL
  9. 27:35Calling Java from C++
  10. 31:07Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.