简体   繁体   中英

Why is C++ used in Android Studio (NDK)

I have a question that why is C++ used in Android App Development, What Requirements aren't Full filled by Java or Kotlin so C++ Came to Picture.

Android by itself is kind of linux system, where app is run by davlik virtual machine (and byte code for it is compiled form java / kotlin). Sometimes there is a need to be closer to operation system and develop in native code - say in C/C++. NAtive parts of software have access to other APIs not available from davlik VM

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM