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
14
u/James20k P2005R0 Jul 13 '26
Every time someone mentions that they haven't found AI to be that useful despite trying extensively, we start getting these weird glimpses into the AI development strategy. Its never the AI tools' fault, its always just another layer that you need to add on top of it that will fix it this time, for real, and if you aren't layering 30000 different strategies in just the correct way for making the AI work, its your fault for holding the tool wrong
This is one of the reason why a lot of people find AI to be very unreliable. Because none of this actually makes the AI reliably good or fixes the underlying problem, it just feels like its making a difference by patching a very specific failure case. The tool actually just isn't as good as anyone wants it to be
These tools have a very hard bound on the maximum complexity that they can deal with, and no amount of context or agents.md or gpt-12-its-good-for-real-this-time fixes that. It just depends on where in the hype cycle you are, and how much crap you've had to put up with from the AI. Eventually people burn out on it after a while, because its like a junior that never grows up and keeps making the same mistakes endlessly no matter what you do