Why are mobile Operating systems (OS) written in C/C++?
Jagger
2012-11-23 15:24:18 UTC
What are the advantages. For example, Android is written mostly in C/C++, why is that. Also, why is Java used for the UI ?
Three answers:
?
2012-11-23 20:09:57 UTC
C/C++ are true compiler language. Which means your final programs are in machine code that can be understood by the CPUs. .NET and Java are byte code languages that the binary programs have to rely on virtual machine to run on computers. Although it is possible to use C# and Java to write machine codes, the ability for C/C++ to operate a low level makes them a tool of choice for OS developers.
The UI API is mostly written in C/C++. However, apps that included in the OS can be written in Java. Java is a higher level language, that means it is much easier to develop that using C/C++.
2012-11-24 00:29:10 UTC
C & C++ are called the mother of the programming languages because c++ is the first language seems like high language doesn't work like Dos. i mean that it can be used for graphic and use also some of concepts of oop so no one can forget the mother :d
Ash
2012-11-23 23:30:46 UTC
Everything
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.