Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Why gdscript and not something else? #7

Open
filipinyo opened this issue Nov 11, 2023 · 1 comment
Open

[Discussion] Why gdscript and not something else? #7

filipinyo opened this issue Nov 11, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@filipinyo
Copy link

Wouldn't the speed be better using C# or something else? I'm not trying to offend anyone, but I'd really like to know what was the benefit of picking gdscript. Read multiple times that iteration is faster in other languages etc.

@AlexeyBond
Copy link
Owner

AlexeyBond commented Nov 11, 2023

Sure, it would work much faster in almost any other language.

Not sure, how to answer this question. I guess, I can start by describing how I use Godot - it's mostly on game jams (specifically, Ludum Dare) and small experimenal projects. So, I didn't spend time learning and setting up everything necessary to use any better language. Also, I don't know C# and don't have plans to learn it yet. This addon was started as one of small experimental projects - as a demo for a lecture about WFC algorithm. But it has grown too complex too quickly, so I had to make a simpler demo.

To summarize:

Why not C#?

  • I don't know it, and don't want to learn it yet
  • It doesn't work for web builds at least with current version of Godot. GDScript works, just fine, even with multithreading.

Why not any other language using GDExtensions:

  • Difficult to setup both for me and users of the addon

To summarize even further: accessibility

Maybe, later I will rewrite this addon, or, at least, it's most critical parts in different language. Most likely, it will be Rust. But for now it will stay with GDScript despite how much it (GDScript) sucks (and not just in performance).

@AlexeyBond AlexeyBond added the wontfix This will not be worked on label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants