by Gormo · 2y ago · 0 comments
Which amounts to a strong argument in favor of using a tech stack that has superior default performance, and therefore requires less dev effort for optimization.
Sure Godot can be ok for trivial apps, but extracting performance out of Electron is also not that difficult for trivial apps in the first place.
Why? What capabilities does Electron provide that Godot doesn’t and can’t? I’m genuinely asking. I don’t know.
Godot has barely nothing compared to that, as it's not an UI toolkit and never tried to be.
Even basic things like "rendering text correctly in multiple languages, with emojis, while making it selectable with the mouse or with the keyboard" are super hard to get right, but it's a problem already solved by your OS, in a way that is not only better optimized and has less unseen bugs than a hypothetical bespoke implementation: it also looks and feels more familiar. Then there's the whole accessibility part, which has different native APIs depending on the OS.
Some other people have written detailed answers:
https://news.ycombinator.com/item?id=38953558
https://news.ycombinator.com/item?id=38954455
https://news.ycombinator.com/item?id=38954087
EDIT: You asked "doesn't and can't". Here's something: there is no can't if you have a turing complete language. But you need a large team to re-do it from scratch, as you're throwing away 40 years of work.
Accessibility is often language in game technology. That should be better.
To be honest my first reaction was negative to this idea. But if your comments and links have done anything it’s convince me that maybe this isn’t a bad idea after all!
Doing UI in Godot means either their pythonish custom language or C# (and via GDExtension technology, C and C++ ).
Maybe Scaleform or other flash based UI frameworks solved this problem elegantly for games, but it died ahead of my time.
The issues come from stuff like autocompletion tricks etc leading to weird lagginess. People get a first version of a thing working, and then it just kind of exists in that state forever.