r/cpp • • Mar 06 '26

C++ development challenges

Hi fellow C++ developers,

What are some of the most challenging problems you've worked on or solved using C++, also do you think there is a certain domain where C++ usage becomes more challenging. Was the problem a platform issue or a code logic issue.

The reason I'm asking this is because, with the AI tools these days, it's really easy to code a basic skeleton and I want to carve my way to work on problems difficult for gpts to solve.

27 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/CarloWood Mar 07 '26 edited Mar 07 '26

Excellent post. I'm currently designing the harness to do this. So far I only have two phases: planning and implementation.

In my setup I split that work over two different instances of the AI, the "planner" and the "coder". Both can read each others repositories but only write to their own (the plan is in is own repository). My main reason for this is that I don't want to have to worry that the planner starts to make changes to the code repository before I'm able to review the plan, which must be in English.

Would you be so kind to explain what is the difference between a requirement document, architecture and implementation plan? Or how you describe that difference to the AI?

2

u/LogicalPerformer7637 Mar 07 '26

Requirement cleanly states: I want achieve this. Consider it something what customer without coding experience writes.

Architecture: These parts of code will be affected this way and consequences will be, ...

Implementation plan is: I will change this, then this, dependencies, ...

You can consider it definition of what is goal, what will change and why, how it will be done.

Ask AI to write them for you and you will see. AI knows the difference between them.