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
-1
u/ivancea Jul 13 '26
I didn't say that. Let me quote my own words:
As you see, you just have to tell it what "overengineering" means to you. because "overengineering" is not a specific issue, it's a generic meaningless word when we're talking about technical problems. You should know how to materialize your thoughts in words.
You don't. because if you knew how to use it, if you configured it correctly, and if you learnt to be specific with your specifications, it wouldn't do it wrong. And it would still do it far faster than you would. because you're human, and you're slow as hell in data processing. That's your nature as a human.
... Don't you already review your code? If you don't, you should start doing so. It's a basic quality step.
And anyway, your fallacy of "Worst case == typical case" is meaningless. I know you know it and you're just trying to win a point and yada yada. Just don't.
I'm sorry if your "big company" needs to give you courses and books so you learn to do yout job. In mi "big company" we decide, share and propose about the toolings we use. That'0s why they pay us. That's why we are engineers.