Make Java a first class citizen for Godot #10772
Replies: 4 comments 5 replies
-
You mention comparisons between java and c++ but the benchmarks in detail don't show anything with c++, would be far more interesting if there was some concrete data and ways to replicate beyond a video |
Beta Was this translation helpful? Give feedback.
-
I don't think supporting additional languages is something that's going to happen, adding C# was opposed and supported quite strongly as far as I know, and adding even more complexity is a big undertaking and adds a lot of overhead But regardless this shouldn't be considered until this is production ready, there's plenty of glaring limitations we simply cannot ignore:
We already have the issue of lack of support for C# on web due to upstream limitations, adding another language without support would make Web seem very under prioritized which wouldn't be good |
Beta Was this translation helpful? Give feedback.
-
Having great support for Java/Kotlin in Godot would be awesome! However, I think it'd be better to focus on making languages added via GDExtensions feel more like first class citizens. There is already some work being done on this as part of the effort to move Godot's C# support to use GDExtension. Then the integration and maintenance of Java/Kotlin support can be done by a sub-community that is interested in that language. |
Beta Was this translation helpful? Give feedback.
-
youtube.com/watch?v=9AjNzFbTFVo |
Beta Was this translation helpful? Give feedback.
-
Hello,
there is a huge pool of developers that would prefer using Java to develop with Godot. With the development of Graal and Graal-Native the future of adding Java would be very bright.
Here a short intro and performance test using Java/Kotlin with Godot: https://www.youtube.com/watch?v=oiuECV23lP0
If you watch the video, you can see that Java performance is slightly better than C++.
More performance tests: https://github.com/utopia-rise/godot-kotlin-jvm/tree/master/harness/bunnymark
Here is the project that allows using Java or Kotlin to build games with Godot (currently version 4.2.2): https://godot-kotl.in/en/stable
Beta Was this translation helpful? Give feedback.
All reactions