Leveraging Large Language Models for Code Translation and Software Development in Scientific Computing
원문 초록
The emergence of foundational models and generative artificial intelligence (GenAI) is poised to transform productivity in scientific computing, especially in code development, refactoring, and translating from one programming language to another. However, because the output of GenAI cannot be guaranteed to be correct, manual intervention remains necessary. Some of this intervention can be automated through task-specific tools, alongside additional methodologies for correctness verification and effective prompt development. We explored the application of GenAI in assisting with code translation, language interoperability, and codebase inspection within a legacy Fortran codebase used to simulate particle interactions at the Large Hadron Collider (LHC). In the process, we developed a tool, CodeScribe, which combines prompt engineering with user supervision to establish an efficient process for code conversion. In this paper, we demonstrate how CodeScribe assists in converting Fortran code to C++, generating Fortran-C APIs for integrating legacy systems with modern C++ libraries, and providing developer support for code organization and algorithm implementation. We also address the challenges of AI-driven code translation and highlight its benefits for enhancing productivity in scientific computing workflows.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Mutual-Supervised Learning for Sequential-to-Parallel Code Translation
Function-to-Style Guidance of LLMs for Code Translation
Guaranteed Guess: A Language Modeling Approach for CISC-to-RISC Transpilation with Testing Guarantees
LEGO-Compiler: Enhancing Neural Compilation Through Translation Composability
On-Policy Optimization with Group Equivalent Preference for Multi-Programming Language Understanding
LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Study
토론
이 논문과 연결된 포럼 글이 아직 없습니다.