3.8 KiB
GDScript
GDScript is the #33 most popular language according to the 2023 Stack Overflow Developer Survey.
Benchmarks
❌ GDScript is not one of the 19 languages in the MultiPL-E benchmark
❌ GDScript is not one of the 16 languages in the BabelCode / TP3 benchmark
❌ GDScript is not one of the 13 languages in the MBXP / Multilingual HumanEval benchmark
❌ GDScript is not one of the 5 languages in the HumanEval-X benchmark
Datasets
✅ GDScript is included in The Stack dataset
❌ GDScript is not included in the CodeParrot dataset
❌ GDScript is not included in the AlphaCode dataset
❌ GDScript is not included in the CodeGen dataset
❌ GDScript is not included in the PolyCoder dataset
Stack Overflow & GitHub presence
GDScript has 906 tagged questions on Stack Overflow
GDScript projects have had 561 PRs on GitHub since 2014
GDScript projects have had 1,615 issues on GitHub since 2014
GDScript projects have had 3,692 pushes on GitHub since 2014
GDScript projects have had 9,953 stars on GitHub since 2014
Anecdotes from developers
Irrational AI hatred aside, none afaik, godot 4 is too new. When trying to figure out some kinks in my code it kept giving me garbage mixed with outdated godot 3 code. Don't bother, it's faster to just do it yourself for now. It's kind of annoying because in my experience for beginner devs, AI can be a huge help in explaining why your code no worky and how to improve it. It allowed me to go much further in my C++ projects that I thought and saved a ton of time spent on research or debugging.
I was playing with this yesterday and had some difficulty getting it to produce GDScript instead of Python. It insisted the Python code it generated was GDScript haha. Otherwise it made exactly what I wanted, just in the wrong language.
You can: Fine-tune ChatGPT. If you're willing to pay, I might help setting it up at some point in the near future. Use a different model like Llama-2 (open-source) which has more recent data (which you can also fine-tune), or from companies like Anthropic/Claude etc. Look (and contribute?) to godot-dodo and Godot Copilot. Export the Godot docs to a PDF and use some plugin, I guess? Never tried it. Copy-paste the GDScript reference page, which will likely improve it's zero-shot predictions.