Source-Code Generation Using Deep Learning: A Survey

被引:5
|
作者
Ahmed, Areeg [1 ]
Azab, Shahira [1 ]
Abdelhamid, Yasser [1 ,2 ]
机构
[1] Cairo Univ, Fac Grad Studies Stat Res FGSSR, Dept Comp Sci, Giza, Egypt
[2] Egyptian E Learning Univ, Giza, Egypt
关键词
Code generation; Deep learning; Transformers; Machine learning; Natural language; Computer vision;
D O I
10.1007/978-3-031-49011-8_37
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In recent years, the need for writing effective, reusable, and high-quality source code has grown exponentially. Writing source code is an integral part of building any software system; the development phase of the software life-cycle contains code implementation, refactoring, maintenance, and fixing bugs. Software developers implement the desired solution by turning the system requirements into viable software products. For the most part, the implementation phase can be challenging as it requires a certain level of problem-solving skills and the ability to produce high-quality outcomes without decreasing productivity rates or not meeting the business plans and deadlines. Programmers' daily tasks might also include writing large amounts of repetitive boilerplate code, which can be tedious, not to mention the potential bugs that could arise from human errors during the development process. The ability to automatically generate source code will save significant time and effort invested in the software development process by increasing the speed and efficiency of software development teams. In this survey, we review and summarize the recent studies on deep learning approaches used to generate source code in different programming languages such as Java, Python, and SQL (Structured Query Language). We categorize the surveyed work into two groups, Natural Language-based solutions for approaches that use natural text as input and Computer Vision-based solutions which generate code based on images as input.
引用
收藏
页码:467 / 482
页数:16
相关论文
共 50 条
  • [1] Source-Code Generation Using Deep Learning: A Survey
    Ahmed, Areeg
    Azab, Shahira
    Abdelhamid, Yasser
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2023, 14116 LNAI : 467 - 482
  • [2] Hygienic Source-Code Generation Using Functors
    Crary, Karl
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2018), 2018, 10702 : 53 - 60
  • [3] Automatic Algorithm Recognition of Source-Code Using Machine Learning
    Shalaby, Maged
    Mehrez, Tarek
    El-Mougy, Amr
    Abdulnasser, Khalid
    Al-Safty, Aysha
    2017 16TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 2017, : 170 - 177
  • [4] Deep learning for code generation: a survey
    Zhang, Huangzhao
    Zhang, Kechi
    Li, Zhuo
    Li, Jia
    Li, Yongmin
    Zhao, Yunfei
    Zhu, Yuqi
    Liu, Fang
    Li, Ge
    Jin, Zhi
    SCIENCE CHINA-INFORMATION SCIENCES, 2024, 67 (09)
  • [5] Deep learning for code generation: a survey
    Huangzhao ZHANG
    Kechi ZHANG
    Zhuo LI
    Jia LI
    Jia LI
    Yongmin LI
    Yunfei ZHAO
    Yuqi ZHU
    Fang LIU
    Ge LI
    Zhi JIN
    ScienceChina(InformationSciences), 2024, 67 (09) : 5 - 40
  • [6] A Deep Learning Model for Source Code Generation
    Tiwang, Raymond
    Oladunni, Timothy
    Xu, Weifeng
    2019 IEEE SOUTHEASTCON, 2019,
  • [7] USING TYPEDEFS FOR SOURCE-CODE PORTABILITY IN C
    SANTIC, JS
    ELECTRONIC DESIGN, 1995, 43 (02) : 111 - 112
  • [8] Detecting source-code plagiarism
    Zeidman, B
    DR DOBBS JOURNAL, 2004, 29 (07): : 57 - 60
  • [9] AUTOMATIC SOURCE-CODE PARALLELIZATION USING HICOR OBJECTS
    GILDER, MR
    KRISHNAMOORTHY, MS
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1994, 22 (03) : 303 - 350
  • [10] Source-Code Divergence Diagnosis using Constraints and Cryptography
    Toosi, Farshad Ghassemi
    Buckley, Jim
    Sai, Ashish Rajendra
    13TH EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE (ECSA 2019), VOL 2, 2019, : 205 - 208