r/cpp • • Apr 23 '26

Can AI write truly optimized C++?

https://pvs-studio.com/en/blog/posts/cpp/1366/
0 Upvotes

19 comments sorted by

View all comments

Show parent comment

15

u/notarealoneatall Apr 23 '26

I wish the price was talked about more. like, if someone says "your output was bad because you need to use X harness with N amount of agents and you need to setup skills etc". ok, and how much does that cost in both $$ and tokens? how long can you have that workflow running?

I just refuse to believe these insanely complicated agent workflows are a cheap, efficient, and maintainable way to build software long term.

1

u/MegaKawaii Apr 24 '26

Maintainability is one thing, but the argument that today's state of the art AI is too expensive won't age well as hardware improves.

2

u/Minimonium Apr 24 '26

It's yet to be seen as we know for a fact the current prices are 1-10% of the actual price, hardware progress is stalled, hardware is getting more expensive because of demand and supply chain risks across the glob, and the solution to LLM advancements is about throwing more hardware at it (more agents, more sessions, more everything).