1.
Busu, Iulian; Enescu, Alexandra-Mihaela; Enescu, Horia-Răzvan; Bîră, Călin
Using ChatGPT to write program-space optimized source-code Proceedings Article
In: 2024 Advanced Topics on Measurement and Simulation (ATOMS), pp. 279-282, 2024.
Abstract | Links | BibTeX | Tags: Embedded systems;Optimizing compilers;Microcontrollers;Source coding;Writing;Chatbots;Timing;Resource management;Artificial intelligence;Optimization;ChatGPT;Microcontroller;Embedded System;Binary-Size Optimization
@inproceedings{10921548,
title = {Using ChatGPT to write program-space optimized source-code},
author = {Iulian Busu and Alexandra-Mihaela Enescu and Horia-Răzvan Enescu and Călin Bîră},
doi = {10.1109/ATOMS60779.2024.10921548},
year = {2024},
date = {2024-08-01},
booktitle = {2024 Advanced Topics on Measurement and Simulation (ATOMS)},
pages = {279-282},
abstract = {This work presents an exploratory study of how ChatGPT, the AI assistant developed by OpenAI, can support engineers in developing C and ASM code for low-cost, memory-constrained microcontrollers (PIC10F200). We evaluated ChatGPT’s ability to assist with writing the source code and found that it demonstrated to deliver faster results with competitive performance levels for C language, in almost ready-to-run programs, provided that the specific timings and resource allocation is performed by an optimizing compiler. In ASM however, ChatGPT was barely adequate, its performance being lower than average young engineers, despite intensive help received from an experienced human programmer.},
keywords = {Embedded systems;Optimizing compilers;Microcontrollers;Source coding;Writing;Chatbots;Timing;Resource management;Artificial intelligence;Optimization;ChatGPT;Microcontroller;Embedded System;Binary-Size Optimization},
pubstate = {published},
tppubtype = {inproceedings}
}
This work presents an exploratory study of how ChatGPT, the AI assistant developed by OpenAI, can support engineers in developing C and ASM code for low-cost, memory-constrained microcontrollers (PIC10F200). We evaluated ChatGPT’s ability to assist with writing the source code and found that it demonstrated to deliver faster results with competitive performance levels for C language, in almost ready-to-run programs, provided that the specific timings and resource allocation is performed by an optimizing compiler. In ASM however, ChatGPT was barely adequate, its performance being lower than average young engineers, despite intensive help received from an experienced human programmer.