‹ BackHN Continuity

Thread

Using any C++ library in Godot

168 points · 66 comments · czoido

  1. voodooEntity · · focus · HN ↗
    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.

    1. momocowcow · · focus · HN ↗
      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

      1. tancop · · focus · HN ↗
        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
        1. pier25 · · focus · HN ↗
          > Godot is only the best open source engine because Bevy is not ready for production

          I would argue that even if Bevy was ready for production it would not really compete with Godot.

          Godot's performance is plenty for the vast majority of small to medium games. Plus they're starting to work on features like texture streaming for bigger games. It also has an editor which is a big plus for most teams.

          Bevy would be objectively better for expensive CPU simulation stuff but realistically what percentage of games need that? Maybe 1%?

          For Bevy to catch up on the indie game scene it needs an editor plus a scripting language and/or something like Unreal Blueprints. If it only wants to target the hardcore Rust dev that does everything by code it will never go mainstream.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.