48 lines
No EOL
3.6 KiB
Markdown
48 lines
No EOL
3.6 KiB
Markdown
# C++
|
||
|
||
C++ is the #10 most popular language according to the [2023 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages).
|
||
|
||
## Benchmarks
|
||
|
||
✅ C++ is one of the 19 languages in the [MultiPL-E benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=couple%20notable%20mentions-,4.%20MultiPL%2DE,-Creator%3A%20Northeastern)
|
||
|
||
✅ C++ is one of the 16 languages in the [BabelCode / TP3 benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=amazon%2Dscience/mxeval-,12.%20BabelCode%20/%20TP3,-Creator%3A%20Google)
|
||
|
||
✅ C++ is one of the 13 languages in the [MBXP / Multilingual HumanEval benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=11.%20MBXP%20/%20Multilingual%20HumanEval)
|
||
|
||
✅ C++ is one of the 5 languages in the [HumanEval-X benchmark](https://blog.continue.dev/an-introduction-to-code-llm-benchmarks-for-software-engineers/#:~:text=Some%20multilingual%C2%A0benchmarks-,10.%20HumanEval%2DX,-Creator%3A%20Tsinghua)
|
||
|
||
## Datasets
|
||
|
||
✅ C++ makes up 192.84 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
||
|
||
✅ C++ makes up 87.73 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
||
|
||
✅ C++ makes up 290.5 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
||
|
||
✅ C++ makes up 69.9 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
||
|
||
✅ C++ makes up 52 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
||
|
||
## Stack Overflow & GitHub presence
|
||
|
||
C++ has 801,823 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
||
|
||
C++ projects have had 2,767,540 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
||
|
||
C++ projects have had 2,255,179 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
||
|
||
C++ projects have had 9,245,881 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
||
|
||
C++ projects have had 5,192,579 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
||
|
||
## Anecdotes from developers
|
||
|
||
[u/RainbowWarfare](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z07sj/?utm_source=share&utm_medium=web2x&context=3)
|
||
> I use ChatGPT for tools and libs where the documentation is horrendous and it’s a coin toss as to whether it confidently talks truth or nonsense. I don’t think it’s a good idea for beginners to be leaning on it as a teaching aid.
|
||
|
||
[u/TheBrainStone](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3z96kd/?utm_source=share&utm_medium=web2x&context=3)
|
||
> My experience with ChatGPT is that it sucks ass with C++. Anything beyond basic syntax and programming it just gets wrong. My typical interaction is to ask it something specific, then spend the next 3 queries clarifying and then the next few pointing out issues in the code or methodology. I cannot recommend.
|
||
|
||
[u/Asleep-Dress-3578](https://www.reddit.com/r/cpp/comments/172vc4q/comment/k3zprne/?utm_source=share&utm_medium=web2x&context=3)
|
||
> I have github copilot enabled in my ide, so whatever it suggests I can either use it or ignore. I find it helpful in writing docstrings and filling out somewhat repetitive rows (e.g. pattern matching cases). But otherwise it is not that clever. I also use chatgpt in some rare cases when I am curious how would chatgpt solve this or that problem. It is good to write some simple, short functions; but it is not reliable enough to write medium to very complex algorithms. |