When developing mobile applications without the use of AI tools, developers may encountererrors or issues that prolong the development process due to the time it takes to researchsolutions. With AI tools like ChatGPT becoming more advanced and widely available, thesetools can aid a developer while programming. Therefore, this study aims to highlightdifferences in the code generated by ChatGPT compared to code written by this author. Comparisons of ChatGPT’s code with the frameworks SwiftUI and Flutter will also be madeto highlight any differences. By creating four apps, two without the use of AI within SwiftUI and Flutter, and two throughprompting ChatGPT to generate code within these frameworks, comparisons and analysis ofusing ChatGPT as a development tool can be made. Measurements regarding size, time,memory use, CPU, and A/B testing highlight differences between the applications. This study found that ChatGPT could visually recreate a weather app and significantlyreduced development time, as well as producing smaller applications compared to theirHuman counterparts. However, with different code solutions, the performance of the appsdiffered, which could influence the choice of using ChatGPT as a development tool.Furthermore, this study highlighted differences between ChatGPT’s two apps as they usedvastly different solutions and followings of best practices. The two apps also differed in thenumber of prompts necessary and the success of these prompts.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kau-99901 |
Date | January 2024 |
Creators | Alwin, Emy |
Publisher | Karlstads universitet, Handelshögskolan (from 2013) |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0019 seconds