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

Add FAQ entry "Which programming language is fastest?" #10287

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

tetrapod00
Copy link
Contributor

Compares the performance of C#, GDScript, and C++.

Extracts the programming language comparison from #7538 and moves it to a dedicated FAQ entry. Now feel free to argue about the characterization of your favorite language 😄 .

CC @Calinou, this is largely based on your revised description from that PR.

(At some point I might like to add a dedicated "Which language should I use?" entry to the FAQ, but it's not clean to add right now because the current FAQ is designed to sell you on GDScript. The current "Which programming languages are supported in Godot?" and "What is GDScript and why should I use it?" combined cover this topic already.)

@mhilbrunner
Copy link
Member

mhilbrunner commented Nov 19, 2024

As noted in #10286, I'm in favor of this PR and removing that whole comparison from the C# docs.

about/faq.rst Outdated Show resolved Hide resolved
@dsnopek
Copy link
Contributor

dsnopek commented Nov 19, 2024

Is it worth noting that C++ in modules can be faster than C++ in GDExtension (also because of marshalling, like pointed out for C#)? Or is that too much information?

@tetrapod00
Copy link
Contributor Author

Is it worth noting that C++ in modules can be faster than C++ in GDExtension (also because of marshalling, like pointed out for C#)? Or is that too much information?

I think this question and answer could be up to 50-100% longer than it curently is if all the information added is concise and relevant. The FAQ has some long answers already. The nuances of C++ modules and C++ with GDExtension were outside my personal expertise so I didn't say much about it.

Copy link
Contributor

@skyace65 skyace65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, it just needs to be rebased since #10286 was merged.

@tetrapod00
Copy link
Contributor Author

Before merging, I wanted to give Calinou (and maintainers for GDExtension and C#) a bit more of a chance to look over if they find time, since it's based on their previous work. If that doesn't happen, we can always make improvements later

@tetrapod00 tetrapod00 force-pushed the language-compare branch 2 times, most recently from 3c91c6c to 9ffd5f5 Compare November 20, 2024 03:05
about/faq.rst Outdated Show resolved Hide resolved
about/faq.rst Outdated Show resolved Hide resolved
about/faq.rst Outdated Show resolved Hide resolved
Compares the performance of C#, GDScript, and C++.

Co-Authored-By: Hugo Locurcio <[email protected]>
Co-Authored-By: Andre Sacilotto <[email protected]>
@skyace65 skyace65 merged commit f94cdb1 into godotengine:master Nov 20, 2024
1 check passed
@skyace65
Copy link
Contributor

Thanks!

@tetrapod00 tetrapod00 deleted the language-compare branch November 20, 2024 23:11
@mhilbrunner
Copy link
Member

Cherrypicked to 4.3 in #10347.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:about Issues and PRs related to the About section of the documentation and other general articles enhancement topic:dotnet topic:gdextension topic:gdscript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants