• red_tomato@lemmy.world
    link
    fedilink
    arrow-up
    100
    ·
    1 month ago

    The whole point of C++ is to graft Object Oriented Programming into C like some Frankenstein’s monster because OOP was the big hype.

    C++ being performant is mostly a side effect of it being based on a language created when programs were still punched into paper cards.

  • begrudgedcarfolk@sh.itjust.works
    link
    fedilink
    arrow-up
    76
    ·
    1 month ago

    It’s kind of sad that so many big studios have abandoned their proprietary engines to adopt unreal engine 5. What’s going to happen when Epic starts to turn the screws because they feel like they aren’t making enough money? All these big studios won’t have any staff left that knows how to build graphical engines. Honestly, at least it would make sense if they have up on their engines and started using Godot. At least they wouldn’t be bound to Epic’s bullshit.

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      43
      ·
      1 month ago

      At a conceptual level, it makes 100% sense that companies are moving away from bespoke engines and towards a standardized engine. This is something you see in many different industries. Spending a whole bunch of money and effort when 95% of your requirements are the same as everyone else is a bit silly.

      However, you’re completely right that there’s the same danger as in other industries where the ‘boring software infrastructure’ gets standardized and outsourced: a niche monopoly able to exploit their position. What tends to happen in the long run is an open source project for that infrastructure run by an NGO with the industry members (in this case AAA game companies) on the board of directors.

      • mnemonicmonkeys@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 month ago

        A lot of these developers would be better off in the long run working in Godot and submitting PR’s for fixes and updates that they need

    • warm@kbin.earth
      link
      fedilink
      arrow-up
      8
      ·
      1 month ago

      It comes down to money. Studios dont want to spend the time and money anymore. People will buy whatever garbage they put out anyway. It can be shitty UE5 at 30fps, people have no standards anymore.

    • RunjamboJenkin@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      That’s why we always stan on studios like Remedy. They use their own engine, and pretty much everything they produce is stellar IMO.

    • AnimalsDream@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      I wish there was a game dev group like Motion Twin (ie., nonconventional anti-hierarchical organization), who relied and supported open standards only, and kept at least the engine portions of their games open-source.

    • Jyek@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Luckily games that have functions or features that are not present in UE5 or some other publicly accessible engine, still have to add those features to the engine to make use of them. This applies to lots of games and developers. The art of building an engine still is necessary for many developers, even those using UE5 or Unity. So worst case scenario, they have to switch to an inhouse engine development cycle and spend that much more time and money building an engine that makes them nothing in return on the hope that the engine they make, will save them substantial development the across future titles.

    • zurohki@aussie.zone
      link
      fedilink
      English
      arrow-up
      47
      ·
      1 month ago

      You’d write the code in something else and then be like

      import 3dengine
      3dengine.run()
      
      • whimsy@lemmy.zip
        link
        fedilink
        English
        arrow-up
        23
        ·
        1 month ago

        Aah yes, the entire numerical python stack being carried on Fortran and C’s shoulders

        • Whelks_chance@lemmy.world
          link
          fedilink
          arrow-up
          13
          ·
          1 month ago

          The tutorials and walkthrough guides for all of that stuff are infuriating.

          What do you mean I just import and run “unbelievably_specific_tool” and run it? How am I supposed to do anything other than process this example data with that?

          • qaz@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            1 month ago

            Exactly, coming from Java it was such a big difference. Previously I could click on any class or method and view the implementation, with Python, suddenly everything was a convoluted jungle of methods popping into existence during runtime or being loaded from some opaque binary.

  • xep@discuss.online
    link
    fedilink
    English
    arrow-up
    38
    ·
    edit-2
    1 month ago

    The point of C++ isn’t optimization, rather it is that one only pays for what one uses. Experience in C++ leads to using only the features of C++ that are appropriate and conscientiously eschewing the rest.

  • Wirlocke@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    35
    ·
    edit-2
    1 month ago

    I love C++ as a god defying monument of backward compatibility. You can go through the versions like an archeologist looking through layers of rock to see what the trends of that time were. There’s not only one way to do the thing you want, but several, too many ways, and no one can stop you from frankensteining pieces together that were never meant to be.

    If C is meant to be a basic toolbox, C++ is your dad’s disorganized tool cabinet he keeps in the garage. Overflowing with barely used, highly specific, and redundant tools.

      • addie@feddit.uk
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        Hey! Native speaker here. If we:

        • reformed the spelling

        • stopped the locals from coming out with any deranged shite that they liked the sound of and made them follow some rules instead

        …then it would be a perfectly usable language, thank you.

  • eestileib@sh.itjust.works
    link
    fedilink
    arrow-up
    14
    ·
    1 month ago

    I got paid good money to write C++ for several years.

    It is a shit language, and people love it for the same reason that they love being in a fraternity with hazing rituals.

  • DupaCycki@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 month ago

    You’d be surprised how few game devs actually touch any code. It’s not just artists or designers. Even the ‘programmers’ increasingly rely on visual tools instead of coding.

  • lessthanluigi@lemmy.sdf.org
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    Anon is my C language programming college professor. He was also a linux evangelist, and got me to start daily driving/dualbooting linux.

    • Dreamcatcher@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 month ago

      This is why we should only use Python. :)

      So great for programming, with no downsides. Why hasn’t anyone thought of this before?

      I’m a genius, i know.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 month ago

    I like C++ but then again, I am just a modder so I have no idea what it’s actually bad at since it does everything I need and it’s easy. I’m not writing whole big programs that serve a huge company or anything. Hell, I ain’t even making entire games.

    Can someone ELI5 what’s wrong with it?