8 ms·
> currently (as of Q3 2025) the fastest-growing of the top four languages in the world… +90% users in the past 3.5 years. Because of AI, right?
by claiir 3mo ago
> currently (as of Q3 2025) the fastest-growing of the top four languages in the world… +90% users in the past 3.5 years.
Because of AI, right?
- bayindirh 3mo agoLet's assume that it's because of AI for this case. Is this good or bad?
- visha1v 3mo agobut do vibe coders even use c++? won't they use js or python?
- tialaramex 3mo agoReddit's r/cpp has always had some level of "My First X" posts where somebody goes from their first C++ lesson to being confident they've written the "World's Best X" in about a week. The AI slop made this much worse because now the author has been told by ChatGPT or whatever that they're a genius. All the popular PLs have this problem to some extent.
- pjmlp 3mo agoYes, they need it for the AI libraries they call from Python.
- raincole 3mo agoIf this is a rhetorical question I genuinely don't know what's the implied answer. Why would AI specifically make C++ grow?
- DesaiAshu 3mo agoA few reasons: 1. Header files make C++ verbose. Header files are well within LLM's ability 2. LLMs can handle setting up cmake for you 3. C++ is very well documented relative to (most) newer languages 4. LLMs can port modern features like websockets and build API wrappers easily, reducing the disadvantage against web (since most documentation is for JS/python/go) Coding languages have been developing for speed of (manual) writing - akin to how human languages did with modern alphabets. Now that writing is a lot easier, languages will likely evolve towards a focus on execution (or in the case of human languages, speed of reading and precision of understanding)
- raincole 3mo agoYeah, C++, the language known for its speed of reading...
- imtringued 3mo agoAll of those seem like barriers that make C++ unappealing in general, but you're deciding to overcome the barriers using an LLM and seeing that as a strength somehow?
- marcosdumay 3mo agoThat's like every application of LLM-coding I have ever seen people talking about.
- randusername 3mo agoIdeas: - more accessible now that AI handles the high tooling activation energy - more history and pre-AI internet content - pybind11 is pretty popular to pair Python logic with C++ performance - cpp committe is pretty bullish on new contracts and reflection features making C++ a glue language that AI can write well
- pjmlp 3mo agoThe GPGPU frameworks and JIT compilers that actually make those Python libraries usable.
- fasterik 3mo agoJust speculation, but I think we would expect a language to grow if AI is effective with it. C++ has a lot of training data. Most large software projects are written in C++: web browsers, compilers, 3D renderers, game engines, UI toolkits, etc. AI is also probably more effective with statically typed languages since the compiler catches a wider range of errors.
- kirtivr 3mo agoC++ is one of the languages less suited to the strengths of coding agents. The language which still supports C-style pointers, arbitrary datatype conversions, and inherits architecture-specific undefined behavior gives you too many ways to fail at solving a problem. As a programmer, I love coding in C++ because I know what I'm doing. I'd hate reviewing C++ code though.
- pjmlp 3mo agoThose Python AI libraries....
- tim333 3mo agoPartly - the documentary gives that a mention https://youtu.be/lI7tMxzSJ7w?t=3862 https://youtu.be/lI7tMxzSJ7w?t=3862 Also >It is because we have enduring demand for languages that are good at performance per watt. (1 min in from above link)