| ▲ | voodooEntity 4 hours ago |
| Was playing arround recently building an RTS with godot until i just hit the ceilling of what i could handle with gdscript performance wise. Than started to move alot of heavy logic to c++ simulation : tedious indeed but the results speak for themself. Basically allows me to use godot for things like menus dialogues and similar stuff while running the true heavy work in a c++ simulation. |
|
| ▲ | 8-prime 3 hours ago | parent | next [-] |
| What motivated you to use c++ rather than C#?
Especially when you mention the usage of c++ being tedious, when I would argue using C# is equally straight forward as gdscript is. |
| |
| ▲ | voodooEntity 33 minutes ago | parent | next [-] | | A combination of two factors that are rather specific to myself. One being that even tho its quite some time ago i have a bit of c++ experience, while i never tried to code C#. So when i got the idea to try to run the heavy simulation in an "extension" it was just a language i was a bit familiar with. Maybe C# would have been the "smarter" choice, i just never digged into it yet. The other reason is that in my well closer circle i got quite some people that code c++ on a daily basis and i don't know (at least i think so) anyone doin C# actively, so i thought if i would get stuck i have people i can easily ask about my c++ problems. So it wasn't a "i think c++ is better than c#" decision rather a what do i know and what resources i have available easily. | | |
| ▲ | jdw64 5 minutes ago | parent [-] | | C# is mostly in the Unity community. I agree that GDScript performance isn't good. |
| |
| ▲ | windsurfer an hour ago | parent | prev [-] | | C# is a "first class" language in Godot and doesn't need a GDExtension, but it's not compatible with web builds yet. There is a draft PR that includes C# support but it adds about +50 MB to a web export and is also missing a few features. |
|
|
| ▲ | momocowcow 3 hours ago | parent | prev [-] |
| gdscript is incredibly slow, worst than something like lua, maybe only good for handling the UI events the hierarchy and physics api isn’t great either, it’s easy to hit heap allocs even from a gdextension a lot of things wrong with this generic engine, but at least it’s lightweight |
| |
| ▲ | tancop 19 minutes ago | parent | next [-] | | Godot is only the best open source engine because Bevy is not ready for production, Lumberyard/O3DE is hard to set up and everything else is ancient or 2D only. one eyed man among the blind type shit | |
| ▲ | Fraterkes 3 hours ago | parent | prev [-] | | Lots of things right too, thankfully |
|