paper-with-me

Papers

Leveraging Large Language Models for Code Translation and Software Development in Scientific Computing

2024-10-31 · Akash Dhruv, Anshu Dubey

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.

📄 PDF Abstract BibTeX arXiv:2410.24119

Code (1)

neucol/llm-conversion-performance 공식 구현

Tasks

Code TranslationPrompt EngineeringTranslation

Similar Papers 제목 키워드 기반

Technical Challenges in Maintaining Tax Prep Software with Large Language Models

2025-04-25 · Sina Gogani-Khiabani, Varsha Dewangan, Nina Olson, Ashutosh Trivedi 외

As the US tax law evolves to adapt to ever-changing politico-economic realities, tax preparation software plays a significant role in helping taxpayers navigate these complexities. The dynamic nature of tax regulations p…

Navigate

A Survey on Pretrained Language Models for Neural Code Intelligence

2022-12-20 · Yichen Xu, Yanqiao Zhu

As the complexity of modern software continues to escalate, software engineering has become an increasingly daunting and error-prone endeavor. In recent years, the field of Neural Code Intelligence (NCI) has emerged as a…

Code SummarizationSurvey

The potential of LLMs for coding with low-resource and domain-specific programming languages

2023-07-24 · Artur Tarassow

This paper presents a study on the feasibility of using large language models (LLM) for coding with low-resource and domain-specific programming languages that typically lack the amount of data required for effective LLM…

Code TranslationDescriptive

InterTrans: Leveraging Transitive Intermediate Translations to Enhance LLM-based Code Translation

2024-11-01 · Marcos Macedo, Yuan Tian, Pengyu Nie, Filipe R. Cogo 외

Code translation aims to convert a program from one programming language (PL) to another. This long-standing software engineering task is crucial for modernizing legacy systems, ensuring cross-platform compatibility, enh…

Code TranslationHumanEvalTranslation

When Many-Shot Prompting Fails: An Empirical Study of LLM Code Translation

2025-10-19 · Amirkia Rafiei Oskooei, Kaan Baturalp Cosdan, Husamettin Isiktas, Mehmet S. Aktas arxiv

Large Language Models (LLMs) with vast context windows offer new avenues for in-context learning (ICL), where providing many examples ("many-shot" prompting) is often assumed to enhance performance. We investigate this a…

Code Translation