3 ms·
> For languages that are statically typed, it's still better than the best IDE AST understanding. This is emphatically NOT my experience with a large C++ codeb
by neutronicus 1y ago
> For languages that are statically typed, it's still better than the best IDE AST understanding.
This is emphatically NOT my experience with a large C++ codebase.
- echelon 1y agoI can't attest to C++, but we've got a large Rust monorepo, and it's magical. It expands match blocks against highly complex enums from different crates, then tab completes test cases after I write the first one. Sometimes even before that.
- neutronicus 1y agoWe may be at different levels of "large" (and "gnarly") - this code-base has existed in some form since 1985, through various automated translations Pascal -> C -> C++. Just by virtue of Rust being relatively short-lived I would guess that your code base is modular enough to live inside reasonable context limits, and written following mostly standard practice. One of the main files I work on is ~40k lines of code, and one of the main proprietary API headers I consume is ~40k lines of code. My attempts at getting the models available to Copilot to author functions for me have often failed spectacularly - as in I can't even get it to generate edits at prescribed places in the source code, follow examples from prescribed places. And the hallucination issue is EXTREME when trying to use the big C API I alluded to. That said Claude Code (which I don't have access to at work) has been pretty impressive (although not what I would call "magical") on personal C++ projects. I don't have Opus, though.