48 lines
No EOL
3.7 KiB
Markdown
48 lines
No EOL
3.7 KiB
Markdown
# Java
|
|
|
|
Java is the #8 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
|
|
|
|
✅ Java 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)
|
|
|
|
✅ Java 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)
|
|
|
|
✅ Java 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)
|
|
|
|
✅ Java 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
|
|
|
|
✅ Java makes up 271.43 GB of [The Stack dataset](https://arxiv.org/abs/2211.15533)
|
|
|
|
✅ Java makes up 107.7 GB of the [CodeParrot dataset](https://huggingface.co/datasets/codeparrot/github-code)
|
|
|
|
✅ Java makes up 113.8 GB of the [AlphaCode dataset](https://arxiv.org/abs/2203.07814)
|
|
|
|
✅ Java makes up 120.3 GB of the [CodeGen dataset](https://arxiv.org/abs/2203.13474)
|
|
|
|
✅ Java makes up 41 GB of the [PolyCoder dataset](https://arxiv.org/abs/2202.13169)
|
|
|
|
## Stack Overflow & GitHub presence
|
|
|
|
Java has 1,911,018 [tagged questions on Stack Overflow](https://stackoverflow.com/tags)
|
|
|
|
Java projects have had 3,939,936 [PRs on GitHub since 2014](https://madnight.github.io/githut/#/pull_requests/2023/3)
|
|
|
|
Java projects have had 3,752,951 [issues on GitHub since 2014](https://madnight.github.io/githut/#/issues/2023/3)
|
|
|
|
Java projects have had 14,008,719 [pushes on GitHub since 2014](https://madnight.github.io/githut/#/pushes/2023/3)
|
|
|
|
Java projects have had 9,232,281 [stars on GitHub since 2014](https://madnight.github.io/githut/#/stars/2023/3)
|
|
|
|
## Anecdotes from developers
|
|
|
|
[u/ByerN](https://www.reddit.com/r/java/comments/163eltc/comment/jy2asuq/?utm_source=share&utm_medium=web2x&context=3)
|
|
> Anyone who tried to use ChatGPT to solve some real-world programming issues knows, that even if you are able to replace 1-2 juniors with it, you will lose 1 senior to filter out the nonsense it can produce with full confidence. Not worth it. What's worse - I've seen many beginners treating AI as some form of oracle and believing everything it spits out even if it's all false. But AI is a powerful tool and it's worth checking it out and tracking its progress. Who knows what it will look like in a few years?
|
|
|
|
[u/benjtay](https://www.reddit.com/r/java/comments/16lu4wb/comment/k14rnx3/?utm_source=share&utm_medium=web2x&context=3)
|
|
> I have to wonder if AI translation is determinate. I use Github Copilot fairly often, and it returns schizophrenic suggestions apparently at random. It also seems stuck in pre Java-8 for syntax (I've never seen it use switch expressions, and it rarely uses streams).
|
|
|
|
[u/BarryFruitman](https://www.reddit.com/r/java/comments/176t5vb/comment/k4rwd2t/?utm_source=share&utm_medium=web2x&context=3)
|
|
> I've been using GitHub Copilot with Android Studio for a couple of months. It's actually amazing. It doesn't produce a ton of suggestions, but the ones it does produce are right a lot of the time. Even the wrong ones are often pretty close and only need minor editing. It won't write full classes but it can write short methods or blocks of code. Highly recommend. |