![]() That's why we are working on the support of C# and visual scripting for the upcoming Godot 2.2. Why other languages, then?Įven though we will always recommend new users to go the GDScript route, because we know it's the least hassle option, we understand that developers have different needs and experiences, and that believing in "one size fits all" is a mistake. We tried, we became experts at it, but it just didn't work out.īecause of this, GDScript will always be the main supported language, and our recommended choice for all Godot users. None of this could have been made with a third party language. When users write code in GDScript within the IDE, everything simply "just works" and you have the added value of live code completion. GDScript was born as a way to make all these problems go away. Added to that, we could never completely eliminate the stalls related to the garbage collector. True multi-threading (with a stack per thread, but sharing memory) was not supported, and vector types had to be created with custom userpointers, which provided much slower performance than built-in types. Binding code was always large, complex and prone to bugs. ![]() Unfortunately, we had many problems with those languages. We understood that most of the code written for a game is not performance critical, and that the C++ part of the engine already covers most of the critical parts, so we originally went for Lua, and then for Squirrel (while trying Python in the process). When we originally made Godot, we were completely certain that we wanted our main scripting language to be dynamically typed due to the high accessibility this provides. This was the case of third party scripting languages such as Lua, Python, Squirrel, etc. is very popular, it does not satisfy our needs. The reality is that we are extremely demanding with our requirements from third party solutions and it just happens that very often, even if a library, language, etc. ![]() This could not be further away from the truth. There is a common misundertanding about us in the industry: Godot devs, always trying to reinvent the wheel because we like it. More programming languages in Godot, want to help?ġ0 August 2016 Why more languages, isn't GDScript enough? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |