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.
Published Version (Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.