ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Whay Android use java to build thier apps and IOS use objective-c ?

Android apps use JAVA IOS apps use C why ? is there a secret ?

user-image
تم إضافة السؤال من قبل هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)
تاريخ النشر: 2014/08/07
Waqqas Sheikh
من قبل Waqqas Sheikh , Android / Web Service Developer , Valorise

- Google decided to use Java because it was already being used to develop mobile applications on other platforms, notably, Sony Ericsson. Google figured that if it chose Java, developers could reuse their code and the play store would populate more quicklyy.

 

- iPhones run on iOS which is based off of Mac OS X. As OS X is natively written in C, C++ and Objective-C, apps for the plaform are developed in the same languages.

مستخدم محذوف‎
من قبل مستخدم محذوف‎

first we must know that:

- Java will get compiled to byte code that will be interpreted by a JVM ; NB:  since Android4.4, a new virtual machine appeared for Android called ART, it will get all bytecode compiled in assembly, but this is still experimental for now.

- Objective C will get compiled to assembly, that can be directly run by a processor

So, With Objective C you could argue that the language used to create apps is the same as the language to code the OS. For Android is would be more difficult to say so. The OS is build mostly in C, some parts in Java, but Android API them selves are also made of a mix of C and Java.

المزيد من الأسئلة المماثلة