Swift performance statistical aplications
Sylwester Tylec
sylwester.tylec@pollub.edu.plDepartment of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland (Poland)
Karol Woś
(Poland)
Abstract
This paper aims to test Swift's performance against C++ in performing statistical calculations. The analyzed issues, apart from performance, are code transparency and syntax, libraries available for these languages and the use of device hardware resources during testing. For this purpose, a comparative analysis of the two above-mentioned languages was carried out, based on the results obtained from a series of experiments carried out with the use of specially developed test applications. The tests consisted in calculating the standard deviation, median and arithmetic, harmonic and geometric mean, and during the tests, execution times, operating memory usage and CPU load were recorded. Based on the results of the research, it was found that the Swift language is not optimized for statistical calculations.
Keywords:
Swift; statistics; performance; analysisReferences
Oficjalna dokumentacja języka Swift, https://www.swift.org/documentation, [15.06.2022].
Google Scholar
Oficjalna dokumentacja języka C++, https://docs.microsoft.com/pl-pl/cpp/cpp/?view=msvc-170, [15.06.2022].
Google Scholar
J. Hoffman, Swift 4. Koduj jak mistrz, Helion, Gliwice, 2018.
Google Scholar
S. Prata, Język programowania C++. Szkoła programowania, Helion, Gliwice, 2012.
Google Scholar
R. Baida, M. Andriienko, M. Plechawska-Wójcik, Analiza porównawcza wydajności frameworków Angular oraz Vue.js, Journal of Computer Sciences Institute 14 (2020) 59-64, https://doi.org/10.35784/jcsi.1577.
DOI: https://doi.org/10.35784/jcsi.1577
Google Scholar
S. Bose, A Comparative Study: Java vs Kotlin Programming in Android Application Development, International Journal of Advanced Research in Computer Science 9(3) (2018) 41-45.
DOI: https://doi.org/10.26483/ijarcs.v9i3.5978
Google Scholar
S. Khoirom, S. Moirangthem, B. Laikhuram, J. Laishram, T. D. Singh, Comparative Analysis of Python and Java for Beginners, Int. Res. J. Eng. Technol 7(8) (2020) 4384-4407.
Google Scholar
H. Singh, Speed Performance Between Swift and Objective-C, Int. J. Eng. Appl. Sci. Technol 1(10) (2016) 185-189.
Google Scholar
D. Sulowski, G. Kozieł, Comparative Analysis of Kotlin and Java languages Used to Create Applications for the Android System, Journal of Computer Sciences Institute 13 (2019) 354-358, https://doi.org/10.35784/jcsi.1332
DOI: https://doi.org/10.35784/jcsi.1332
Google Scholar
Authors
Sylwester Tylecsylwester.tylec@pollub.edu.pl
Department of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland Poland
Authors
Karol WośPoland
Statistics
Abstract views: 125PDF downloads: 143
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.