This paper explores the use of Large Language Models (LLMs) and in particular ChatGPT in programming, source code analysis, and code generation. LLMs and ChatGPT are built using machine learning and artificial intelligence techniques, and they offer several benefits to developers and programmers. While these models can save time and provide highly accurate results, they are not yet advanced enough to replace human programmers entirely. The paper investigates the potential applications of LLMs and ChatGPT in various areas, such as code creation, code documentation, bug detection, refactoring, and more. The paper also suggests that the usage of LLMs and ChatGPT is expected to increase in the future as they offer unparalleled benefits to the programming community.
翻译:本文探讨了大型语言模型(LLMs)特别是ChatGPT在编程、源代码分析与代码生成中的应用。LLMs与ChatGPT基于机器学习与人工智能技术构建,为开发者和程序员提供了诸多便利。尽管这些模型能够节省时间并提供高精度结果,但其先进程度尚不足以完全取代人类程序员。本文研究了LLMs与ChatGPT在代码创建、代码文档编写、缺陷检测、重构等多个领域的潜在应用,并指出随着LLMs与ChatGPT为编程社区带来无可比拟的效益,其应用预计将在未来持续增长。