Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

19 results for “C++”

Matched on wording only, meaning-matching is unavailable right now

1

InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolution

20 Nov · Qingao Dong, Mengfei Wang, Hengzhi Zhang +7 · arXiv:2511.16005

Large language model (LLM) agents have recently shown strong performance on repository-level issue resolution, but existing systems are almost exclusively designed for Python and rely heavily on lexical retrieval and shallow code navigation. These approaches transfer poorly to C++ projects, where overloaded identifiers, nested namespaces, template instantiations, and deep control-flow structures make context…

2

SemChunk-C: Semantic Segmentation for C Code

12 May · Boris Nazarov, Darya Frolova, Shaked Leibzirer +1 · arXiv:2606.23697

Semantic segmentation of code written in a C-family language remains a challenging problem, due to the language's complex syntax, macro expansion, and irregular structural patterns. Existing chunking methods, such as fixed-sized windows, heuristic splitting, and syntax-based tools, often fail to capture meaningful functional units, limiting the efficacy of retrieval and other downstream LLM driven tasks. In this…

3

Fine-Tuning Multilingual Language Models for Code Review: An Empirical Study on Industrial C# Projects

25 Jul · Igli Begolli, Meltem Aksoy, Daniel Neider · arXiv:2507.19271

Code review is essential for maintaining software quality but often time-consuming and cognitively demanding, especially in industrial environments. Recent advancements in language models (LMs) have opened new avenues for automating core review tasks. This study presents the empirical evaluation of monolingual fine-tuning on the performance of open-source LMs across three key automated code review tasks: Code Change…

4

EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translation

6 Aug · Chaofan Wang, Tingrui Yu, Beijun Shen +6 · arXiv:2508.04295

Translating legacy C codebases to Rust is increasingly demanded for building safety-critical systems. While various approaches have emerged for this task, they face inherent trade-offs: rule-based methods often struggle to satisfy code safety and idiomaticity requirements, while LLM-based methods frequently fail to generate semantically equivalent Rust code, due to the heavy dependencies of modules across the entire…

Accepted by ICSE 2026 SEIP Software engineering Artificial intelligence Matched by wording
5

PyVeritas: On Verifying Python via LLM-Based Transpilation and Bounded Model Checking for C

11 Aug · Pedro Orvalho, Marta Kwiatkowska · arXiv:2508.08171

Python has become the dominant language for general-purpose programming, yet it lacks robust tools for formal verification. In contrast, programmers working in languages such as C benefit from mature model checkers, for example CBMC, which enable exhaustive symbolic reasoning and fault localisation. The inherent complexity of Python, coupled with the verbosity and low-level nature of existing transpilers (e.g.,…

6

Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translation

4 Oct · Tianyu Li, Ruishi Li, Bo Wang +3 · arXiv:2510.03879

Translating C to memory-safe languages, like Rust, prevents critical memory safety vulnerabilities that are prevalent in legacy C software. Even with recent LLM-based and tool-augmented translators, the resulting Rust code frequently diverges from the C source on inputs absent from the test suite used during translation; this correctness gap on unseen inputs remains a dominant obstacle to reliable, automatic…

7

Project-Level C-to-Rust Translation via Pointer Knowledge Graphs

13 Oct · Zhiqiang Yuan, Wenjun Mao, Zhuo Chen +4 · arXiv:2510.10956

Translating C code into safe Rust is an effective way to ensure memory safety. Compared to rule-based approaches, which often produce largely unsafe Rust code, LLM-based methods generate more idiomatic and safer Rust by leveraging extensive training on human-written code. Despite their promise, existing LLM-based approaches still struggle with project-level C-to-Rust translation. They typically partition a C project…

Accepted by FSE'26 Software engineering Artificial intelligence Matched by wording
8

Feedback Loops and Code Perturbations in LLM-based Software Engineering: A Case Study on a C-to-Rust Translation System

2 Dec · Martin Weiss, Jesko Hecking-Harbusch, Jochen Quante +1 · arXiv:2512.02567

The advent of strong generative AI has a considerable impact on various software engineering tasks such as code repair, test generation, or language translation. While tools like GitHub Copilot are already in widespread use in interactive settings, automated approaches require a higher level of reliability before being usable in industrial practice. In this paper, we focus on three aspects that directly influence…

9

Model-Based Diagnosis with Multiple Observations: A Unified Approach for C Software and Boolean Circuits

2 Dec · Pedro Orvalho, Marta Kwiatkowska, Mikoláš Janota +1 · arXiv:2512.02898

Debugging is one of the most time-consuming and expensive tasks in software development and circuit design. Several formula-based fault localisation (FBFL) methods have been proposed, but they fail to guarantee a set of diagnoses across all failing tests or may produce redundant diagnoses that are not subset-minimal, particularly for programs/circuits with multiple faults. This paper introduces CFaults, a novel…

10

REMODEL-LLM: Transforming C code to Java using LLMs

12 Dec · Aryan Gupta, Y. Raghu Reddy · arXiv:2512.11402

The automated translation of C code to Java code is a notoriously difficult task, fraught with challenges stemming from fundamental paradigm shifts (procedural vs. Object Oriented), memory models (manual pointers vs. Garbage Collection), and incompatible data types. This paper investigates the efficacy of 19 small, quantized LLMs (under 20 billion parameters) for the C to Java translation task. We use a novel,…

11

SPARC: Scenario Planning and Reasoning for Automated C Unit Test Generation

18 Feb · Jaid Monwar Chowdhury, Chi-An Fu, Reyhaneh Jabbarvand · arXiv:2602.16671

Automated unit test generation for C remains a formidable challenge due to the semantic gap between high-level program intent and the rigid syntactic constraints of pointer arithmetic and manual memory management. While Large Language Models (LLMs) exhibit strong generative capabilities, direct intent-to-code synthesis frequently suffers from the leap-to-code failure mode, where models prematurely emit code without…

12

A CEFR-Inspired Classification Framework with Fuzzy C-Means To Automate Assessment of Programming Skills in Scratch

1 Apr · Ricardo Hidalgo-Aragón, Jesús M. González-Barahona, Gregorio Robles · arXiv:2604.00730

Context: Schools, training platforms, and technology firms increasingly need to assess programming proficiency at scale with transparent, reproducible methods that support personalized learning pathways. Objective: This study introduces a pedagogical framework for Scratch project assessment, aligned with the Common European Framework of Reference (CEFR), providing universal competency levels for students and…

Best Paper Award CSEDU 2026 -Minor change FPC fix Computers & society Artificial intelligence Machine learning Matched by wording
13

ENCRUST: Encapsulated Substitution and Agentic Refinement on a Live Scaffold for Safe C-to-Rust Translation

6 Apr · Hohyun Sim, Hyeonjoong Cho, Ali Shokri +2 · arXiv:2604.04527

We present Encapsulated Substitution and Agentic Refinement on a Live Scaffold for Safe C-to-Rust Translation, a two-phase pipeline for translating real-world C projects to safe Rust. Existing approaches either produce unsafe output without memory-safety guarantees or translate functions in isolation, failing to detect cross-unit type mismatches or handle unsafe constructs requiring whole-program reasoning.…

14

Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code

21 Jul · Vidyut Sriram, Saatvik Pradhan, Suman Saha · arXiv:2607.21641

Large language models can generate C code from natural-language descriptions, but resulting programs often contain security vulnerabilities and compilation errors, posing risks for embedded and resource-constrained systems. This work investigates how feedback and retrieval improve reliability of LLM-generated C code. We present an analysis-and-repair workflow that combines compilation diagnostics, CodeQL static…

15

Characterizing the Quality Profile of AI-Generated C++ in Production

6 Aug · Michael Tran, Fred Lewis, Kun Yang +5 · arXiv:2608.06640

The widespread integration of AI coding assistants offers undeniable boosts to engineering velocity. Yet, recent studies point to a growing trade-off, revealing persistent challenges with code quality and maintainability. Industry leaders, including frontier AI labs, echo these concerns. As large language models are increasingly relied upon to author production code, understanding their impact on shipped software…

16

Fine-Tuning Qwen3-27B for C-to-Rust Code Translation: A Three-Stage Curriculum of Pretraining, Debugging-Aware SFT, and Task-Specific SFT

13 Aug · Pu Zhao, Changdi Yang, Yixiao Chen +4 · arXiv:2608.13681

Translating C code into safe, idiomatic Rust is a longstanding software-engineering goal because it can eliminate entire classes of memory-safety vulnerabilities while preserving the functional behavior of legacy systems. Large language models (LLMs) have shown promise for this task but typically underperform when applied off-the-shelf, since general-purpose pretraining rarely emphasizes idiomatic Rust generation,…

17

CFaults: Model-Based Diagnosis for Fault Localization in C Programs with Multiple Test Cases

12 Jul · Pedro Orvalho, Mikoláš Janota, Vasco Manquinho · arXiv:2407.09337

Debugging is one of the most time-consuming and expensive tasks in software development. Several formula-based fault localization (FBFL) methods have been proposed, but they fail to guarantee a set of diagnoses across all failing tests or may produce redundant diagnoses that are not subset-minimal, particularly for programs with multiple faults. This paper introduces a novel fault localization approach for C…

Accepted at FM 2024., and 5 listings Software engineering Artificial intelligence Logic Matched by wording
18

CRUSTPairs: A Cross-Language Dataset of Paired C and Rust Solutions

9 Nov · Vojtech Hejlek, Leonardo Jesus Almeida, Alneu de Andrade Lopes · arXiv:2611.11711

C-to-Rust migration is an active agenda, but no dataset pairs the two languages at the level of whole solutions to a shared problem. We present CRUSTPairs, 1857 C/Rust implementation pairs drawn from competitive programming archives, normalised, deduplicated, and stratified into difficulty tiers by zero-shot cross-language embedding similarity, with perrecord provenance and licensing. Cross-language retrieval is…

19

SACTOR: LLM-Driven Correct and Idiomatic C to Rust Translation with Static Analysis and FFI-Based Verification

16 Mar · Tianyang Zhou, Ziyi Zhang, Haowen Lin +4 · arXiv:2503.12511

Translating software written in C to Rust has significant benefits in improving memory safety. However, manual translation is cumbersome, error-prone, and often produces unidiomatic code. Large language models (LLMs) have demonstrated promise in producing idiomatic translations, but offer no correctness guarantees. We propose SACTOR, an LLM-driven C-to-Rust translation tool that employs a two-step process: an…

Previously named as "LLM-Driven Multi-step Translation from C to Rust using Static Analysis" Software engineering Artificial intelligence Programming languages Matched by wording