According to the information officially released by Huawei, HarmonyOS development can be developed in programming languages such as j**a, c, and c++.
At the same time, Huawei also released the Ark compiler data, indicating that the HarmonyOS system is written in C and C++ languages. The idea of the HarmonyOS system and the Ark compiler is the same: directly use machine language to write APP, cancel the ART virtual machine of the Android system, and directly compile it into binary machine code. The advantage of this is that there is no need for transit, and the execution speed is fast; The disadvantage is that there must be a large number of static solutions, and the memory space requirements are higher.
Therefore, HarmonyOS development can use a variety of programming languages, and the specific language to use needs to be decided according to the needs of developers and the actual situation.
Officially, ARTTS is the preferred main application development language for HarmonyOS. ARKts is an extension of the Typescript (TS for short) language and is a superset of TS. Therefore, it is better for HarmonyOS to use arkts for development.
In addition to J**A, C, C++, and ARKts, HarmonyOS development can also use other programming languages. For example, Python is a popular scripting language that is also widely used in HarmonyOS development. Python has the characteristics of easy to learn, concise syntax, and powerful functions, so it has a wide range of applications in the development of smart homes, Internet of Things and other fields.
In addition, HarmonyOS development can also use the j**ascript language. j**ascript is a dynamic type of scripting language that is widely used in web development. In HarmonyOS development, J**Ascript can be used to develop cross-platform applications, and can also be combined with HTML, CSS and other web technologies to achieve richer interfaces and interactive effects.
Click on the card below to take the HarmonyOS development training course for free.
HarmonyOS Training Course (Copy):
In general, HarmonyOS development can use a variety of programming languages, and the specific language to use needs to be decided according to the needs of developers and the actual situation. Developers can choose the most suitable programming language based on their experience and skills to improve development efficiency and application performance.