Automated library mapping approach based on cross‐platform for mobile development programming languages.

Gespeichert in:
Bibliographische Detailangaben
Titel: Automated library mapping approach based on cross‐platform for mobile development programming languages.
Autoren: Muhammad, Ahmad Ahmad, Soliman, Abdelrahman, Zayed, Hala, Yousef, Ahmed H., Selim, Sahar
Quelle: Software: Practice & Experience; May2024, Vol. 54 Issue 5, p683-703, 21p
Schlagwörter: PROGRAMMING languages, MAP collections, NATIVE language, RESEARCH teams, MOBILE operating systems
Abstract: Context: The most popular mobile platforms, Android and iOS, are traditionally developed using native programming languages—Java and Kotlin for Android, and Objective‐C followed by Swift for iOS, respectively. Due to their popularity, there is always a demand to convert applications written for one of these two platforms to another. Cross‐platform mobile development is widely used as a solution where an application is written once and deployed on multiple platforms written in several other programming languages. One common cross‐platform approach that has been used recently by some research groups is the Trans‐Compilation approach. They focus on translating a program written in iOS into Android or vice versa. The main problem with their solutions is that library function mapping is not generalized and usually functions constitute most of the parts of any program. Objective: This study aims to introduce an automatic library mapping approach for mobile programming languages. Method: A library function of a source language will be automatically mapped to a corresponding function of the destination language by using the function structure for the two languages. The function structure includes the library to which the function belongs, the return type, parameter types, and the number of parameters. To test our approach, we map from Swift to Java. Results: The results of our experiments show that our automatic library mapping approach achieves an average accuracy of 83.6% when tested on the most used libraries and outperforms current state‐of‐the‐art mapping techniques in terms of mapping accuracy. Conclusion: These findings show that our automatic mapping approach is promising and can help to overcome the limitations of the trans‐compilation approaches. [ABSTRACT FROM AUTHOR]
Copyright of Software: Practice & Experience is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Datenbank: Complementary Index
Beschreibung
Abstract:Context: The most popular mobile platforms, Android and iOS, are traditionally developed using native programming languages—Java and Kotlin for Android, and Objective‐C followed by Swift for iOS, respectively. Due to their popularity, there is always a demand to convert applications written for one of these two platforms to another. Cross‐platform mobile development is widely used as a solution where an application is written once and deployed on multiple platforms written in several other programming languages. One common cross‐platform approach that has been used recently by some research groups is the Trans‐Compilation approach. They focus on translating a program written in iOS into Android or vice versa. The main problem with their solutions is that library function mapping is not generalized and usually functions constitute most of the parts of any program. Objective: This study aims to introduce an automatic library mapping approach for mobile programming languages. Method: A library function of a source language will be automatically mapped to a corresponding function of the destination language by using the function structure for the two languages. The function structure includes the library to which the function belongs, the return type, parameter types, and the number of parameters. To test our approach, we map from Swift to Java. Results: The results of our experiments show that our automatic library mapping approach achieves an average accuracy of 83.6% when tested on the most used libraries and outperforms current state‐of‐the‐art mapping techniques in terms of mapping accuracy. Conclusion: These findings show that our automatic mapping approach is promising and can help to overcome the limitations of the trans‐compilation approaches. [ABSTRACT FROM AUTHOR]
ISSN:00380644
DOI:10.1002/spe.3281