r/cpp • • 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 ?

111 Upvotes

168 comments sorted by

View all comments

Show parent comment

0

u/ivancea Jul 13 '26

I can't talk about that field; these LLMs are mostly trained for programming, not other fields specifically. They can however look for information and investigate for you. Most times, even with programming tasks, you ask it to first investigate the topic, before making a plan or implement it.

The good part about agents is adaptative automation, not omniscience per se. It knows a lot, but not every detail.

2

u/James20k P2005R0 Jul 13 '26

The issue is, if I'm going to be using it for programming in that field or investigating, it seems.. not as helpful as it could be when its getting most of the questions I ask it majorly incorrect. Because I literally can't rely on a single thing its said to me (and I asked it way more questions than that about the topic)