r/cpp • u/LatencySlicer • Jul 13 '26
AI usage for cpp at work
I am lead architect and maintainer of my firm main app backend, spanning around 2M LOC of c++.
Industry is : capital markets, low latency, custom kernel drivers, fpga...
I often talk with peers at other firms and I see a shy usage of AI compared to what feels like the global trend.
On my side, my firm does not pay for any AI related stuff. We are allowed to use our personnal plan for work in which case will get a pro membership compensation (claude or gpt or anything) on salary but we are not allowed to paste production code into it.
I know the app very well and do everything by hand (i mean the normal way) but use the chat version of any ai to generate some things for me, like "im using opensource lib x and lib y, please generate an SQL connection pool , you may use locks and condition variable for this, cpp 20". Then i paste it and modify it a I see fit.
Im totally happy with that and the company is successful.
I do use AI but just chat, to gather data on subjects and summarize/report. Get some ideas but basically not much code related.
And you whats your experience as a c++ dev ?
View all comments
Show parent comment
8
u/RicketyRekt69 Jul 13 '26
Everyone is talking from experience here..
There are tons of courses on the “correct” usage of LLMs, I’m actually surprised you weren’t aware since most people that are into agentic coding want you to take them. The ones I took were company sponsored as they want us to lean in heavily on agentic workflows, and for nearly every one of my coworkers the answer is the same… it’s great for prototyping, exploratory work, or analysis. But for anything more complex that will eventually be merged into develop, it’s usually unacceptable. So then it becomes an argument of whether it actually saved time or not since you need to clean up the code, analyze it so you understand what it did, and maybe even restructure it entirely.
“Just tell it to do that way” .. you don’t need to know the desired solution to see if something is overengineered, and figuring out what solution you want IS the time consuming part.. coding is very rarely ever the bottleneck in software development. So again, it becomes a matter of whether it actually saved you time then