Leveraging Large Language Models for Code Translation and Software Development in Scientific Computing
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 4 of its 21 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
4 of 21 references.
References · 4
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2018code2vec: Learning Distributed Representations of Codecited by 249
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2025AInsteinBench: Benchmarking Coding Agents on Scientific Repositoriescited by 6
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completioncited by 3
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2025Adding New Capability in Existing Scientific Application with LLM Assistancecited by 1
- 2026Can Large Language Models Implement Agent-Based Models? An ODD-based Replication Studycited by 1
- 2026Beyond BLEU: A Semantic Evaluation Method for Code Translationcited by 1
- 2026Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Modelcited by 1
- 2026Exploring the Role of LLMs in HPC Programming: A Surveycited by 1
- 2026CURATE: Leveraging LLM Agents to Compose, Catalog, and Deploy Reproducible Workflowscited by 0
- 2026CURATE: Leveraging LLM Agents to Compose, Catalog, and Deploy Reproducible Workflows4 Aug 2026
- 2026Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Model4 Jun 2026
- 2026Exploring the Role of LLMs in HPC Programming: A Survey24 May 2026
- 2026Beyond BLEU: A Semantic Evaluation Method for Code Translation6 May 2026
- 2026Can Large Language Models Implement Agent-Based Models? An ODD-based Replication Study8 Feb 2026
- 2025AInsteinBench: Benchmarking Coding Agents on Scientific Repositories24 Dec 2025
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025Adding New Capability in Existing Scientific Application with LLM Assistance30 Oct 2025
- 2025SpecAgent: A Speculative Retrieval and Forecasting Agent for Code Completion20 Oct 2025