Leverage AI Agents to Refactor and Modernize C++ Code - Jubin Chheda - CppCon 2025 @CppCon
Leverage AI Agents to Refactor and Modernize C++ Code - Jubin Chheda - CppCon 2025  @CppCon
Uploaded April 2026 | Updated September 2026, 2 weeks ago
cppcon.org
---

Leverage AI Agents to Refactor and Modernize C++ Code - Jubin Chheda - CppCon 2025
---

Large commercial C++ code‑bases often harbor invisible debt: subtle code smells, brittle or missing tests, and pockets of pre‑modern syntax that resist incremental refactors. Recent advances in large language models (LLMs) make it possible to automate many of these pain points—continuously, safely, and at scale—without rewriting every file by hand.

This session demonstrates an end‑to‑end tool‑chain that combines static‑analysis signals with LLM prompts to (1) surface and prioritize code smells, (2) generate or extend unit‑tests around risky regions, and (3) propose standards‑conformant modernizations (e.g., std::unique_ptr, ranges, coroutines). Attendees will see live examples drawn from a multi‑million‑line production repository and learn concrete patterns—shell wrappers, guardrails, and review workflows—that keep the model helpful while preventing “hallucinated” fixes from landing unchecked.

By the end of the talk you will understand how to plug LLM‑assisted refactoring into existing CI, measure its impact on defect density and test coverage, and decide whether the ROI justifies running these pipelines nightly, on demand, or only during major migrations. If you are responsible for keeping a large C++ code‑base healthy—or if you simply want to ship cleaner code faster—this talk will give you a practical playbook and a caution list of pitfalls to avoid.

---

Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/Refactoring_at_Scale.pdf

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Jubin Chheda

Jubin Chheda is Software Engineer at Meta responsible for Facebook Feed, where he leads efforts across the Facebook app to enhance user satisfaction and engagement. With a passion for driving user engagement and commercial revenue growth, Jubin's main focus is implementing surgical code changes in C++ to achieve performance improvementPrior to his current role, Jubin served as a Senior Engineering Manager leading Instagram's product performance organization, where he spearheaded the adoption of an app-wide Product Excellence program, resulting in significant changes to the app using performance and reliability as levers to drive the the largest user engagement.Before joining Instagram, Jubin held a position at Bloomberg, where he led the Enterprise Console team.Jubin holds an M.Tech. degree from the Indian Institute of Technology, Mumbai. During the pandemic, his running habit got out of hand and he has pushed his two toddlers on a stroller for more than 12,000 miles in New York's Central Park, where he resides. Additionally, Jubin finds great fulfillment in guiding runs with disabled athletes when he's not occupied with improving code performance.
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #coding #programming #softwareengineering
Leverage AI Agents to Refactor and Modernize C++ Code - Jubin Chheda - CppCon 2025CppCon 2016: Arthur ODwyer “Template Normal Programming (part 1 of 2)”Zero-Overhead Abstractions: Building Vector Math Libraries with Concepts and Customization PointsPowered by AI: A Cambrian Explosion for C++ Software Development Tools - Emery Berger - CppCon 2023Wait is it POSIX? Investigating Different OS and Library Implementations for Networking - CppConCutting C++ Exception Time by +90%? - Khalil Estell - CppCon 2025The Evolution of CMake: 25 Years of C++ Build Portability - Bill Hoffman - CppCon 2025Gazing Beyond Reflection for C++26 - Daveed Vandevoorde - CppCon 2024Best Practices for AI Tool Use in C++ - Jason Turner - CppCon 2025Lightning Talk: Reducing Binary Bloat With Thin Archives - Florent Castelli - CppCon 2025The Declarative Programming SECRETS to More Readable C++ - Richard PowellLightning Talk: Generative C++ - Alon Wolf - CppCon 2024
CppCon |

Leverage AI Agents to Refactor and Modernize C++ Code - Jubin Chheda - CppCon 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER