Blueprints vs. C++: Which is Faster in Unreal Engine 5?

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 10

  • @kevinbittner5069
    @kevinbittner5069 3 วันที่ผ่านมา +4

    The question "Which is faster" Depends in the context. Blueprints are faster for prototyping things but if we are talking about performance then cpp that is faster but both are fine use what you are comfortable with. There are games made fully from bp and there are games fully made from cpp. If you want to know why cpp is faster on performance it is because cpp interacts directly with the hardware from the compiler. bp is a scripting language that has many steps before it can do the same thing even if you write them exactly the same bp just has many more steps to get to machine code that is just the nature of the beast. You will see more performance difference on heavy calculations you can check the unreal live where they did something similar like calc the Fibonacci sequence and show the difference. Hope that clears things up.

    • @tango-alpha-dev
      @tango-alpha-dev  3 วันที่ผ่านมา +1

      Great commentary, thank you. I do remember watching that video! Unreal does some amazing presentations. Again, this wasn't scientific at all, however, just a fun thing I decided to waste time on. Again, thank you for the comment, cheers

  • @dIancaster
    @dIancaster 5 วันที่ผ่านมา +1

    I'm not certain if I'm reading this right. Blueprints are faster? Very interesting. Thank you for doing the research on this, too many people just kind of assume they know and evidently the results don't necessary line up with our intuitions.

    • @tango-alpha-dev
      @tango-alpha-dev  3 วันที่ผ่านมา

      That is what it seemed mangarookie mentioned a pure cpp actor. I just posted that video here: th-cam.com/video/xiYXgAQwvrg/w-d-xo.html

  • @jarnine-d9n
    @jarnine-d9n 3 วันที่ผ่านมา

    I'm writing this before I watch the video, I would think C++ would be faster without the extra bit of code blueprints need to work together.

  • @mangarookie
    @mangarookie 5 วันที่ผ่านมา

    make the cpp actor pure cpp, like with no function calls in blueprint. what are the results for that?

    • @tango-alpha-dev
      @tango-alpha-dev  5 วันที่ผ่านมา

      That is an interesting idea. I might have to play with that.

    • @mangarookie
      @mangarookie 5 วันที่ผ่านมา

      @@tango-alpha-dev do it! do it now youtube person! >:@

    • @tango-alpha-dev
      @tango-alpha-dev  3 วันที่ผ่านมา

      Boom. Done. th-cam.com/video/xiYXgAQwvrg/w-d-xo.html

  • @mangarookie
    @mangarookie 5 วันที่ผ่านมา

    wttffffff how