ndk
NDK stands for the Android Native Development Kit. It is a toolset that enables developers to implement parts of an Android app using native code written in C or C++. The NDK provides a compiler toolchain, headers, libraries, and build utilities that run on Windows, macOS, and Linux. It is intended for performance-critical components and for porting existing native libraries to Android. Java and Kotlin code continue to run in the Android runtime, while native code is accessed from Java/Kotlin via the Java Native Interface (JNI).
Core components of the NDK include a Clang-based compiler toolchain, a collection of native system libraries,
Development workflow typically involves writing native code, configuring a build script (CMakeLists.txt or Android.mk), compiling the
History and status: The NDK originated in the late 2000s and has evolved toward Clang-based toolchains and
Use cases and considerations: it is commonly used for graphics engines, game engines, and performance-focused libraries,