[android-developers] Re: Why apps not developed in C ?

2014-04-01 Thread Digipom
Here are some thoughts that would help bias the default choice toward Java: - There are more Java programmers out there, and Java is taught more than C or C++. This leads to a bigger audience of developers for Google Play. - The level of skill required to use C C++ effectively is

[android-developers] Re: Why apps not developed in C ?

2014-03-31 Thread Salsero69
You can write Apps in C and C++ using the NDK. https://developer.android.com/tools/sdk/ndk/index.html On Monday, March 31, 2014 7:19:14 AM UTC-4, NewToAndroid wrote: Hi all, I have this question out of curiocity. Android is based on Linux, which is basically written in C. Why Android

[android-developers] Re: Why apps not developed in C ?

2014-03-31 Thread NewToAndroid
Thats good to know. My intension behind asking this question was, will the apps be faster if written in C/C++ ? But looking at the intro of NDK, they say it won't give significant performance improvement if apps developed in c/c++. Is it because of the layers of basic Android architechture? Or

Re: [android-developers] Re: Why apps not developed in C ?

2014-03-31 Thread Kristopher Micinski
One big reason is that a lot of time is spent in system libraries, which are written in C/C++. I believe in the original talk on Dalvik, it was indicated that 70% of the time was spent in non-interpreted code. You also have to remember that Dalvik has a JIT compiler and now an LLVM based runtime