top 50 comments

sorted by: hot top controversial new old
[–] 2 points 2 days ago

Has anyone ever invented actual good modern language yet?

yes it's called rust

  • source
  • [–] 116 points 1 week ago (22 children)

    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.

  • source
  • hideshow 22 child comments
  • [–] 37 points 1 week ago (21 children)

    That was the point 20 years ago. These days it is pivoting to compile time functional programming

  • source
  • parent
  • hideshow 21 child comments
  • [–] 23 points 1 week ago (17 children)
  • [–] 28 points 1 week ago (9 children)

    If you have a constant expression like 1 + 2 in your code you can evaluate it at compile time once and avoid computing it at runtime. You can do that with control flow and much more complex language constructs in C++. If you want to know more about that look into C++ template meta programming, constexpr, and constval.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 54 points 1 week ago (6 children)

    Or don't look into those things if you wish to remain sane

  • source
  • parent
  • hideshow 6 child comments
  • [–] 9 points 1 week ago (3 children)

    yeah, zig and rust have the same concepts but much better thought and structed

  • source
  • parent
  • hideshow 3 child comments
  • [–] 11 points 1 week ago (2 children)

    It's easy to build a well-designed language when you don't have to work around the mistakes of the past that were too difficult to solve then and too deeply entrenched to change now.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • load more comments (2 replies)
  • [–] 87 points 1 week ago (12 children)

    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.

  • source
  • hideshow 12 child comments
  • [–] 48 points 1 week ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 9 points 1 week ago

    Even disregarding the long-term problems, I fear for the days when every single game looks the same because their developers decide that UE5 knows best and that there's no way photorealism gets in the way of artistic direction

    ... hell, even in stylized UE5 games, I don't know how or why but I can feel the UE5ness

  • source
  • parent
  • [–] 8 points 1 week ago* (last edited 1 week ago)

    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.

    So, O3D, basically. Formerly basically Lumberyard, one of the branches of CryEngine, that Amazon bought, then gave up on actually making work, then open sourced it, but still basically runs the NGO/NonProfit that technically runs it.

    As opposed to the other branch that StarCitizen/RSI is... "developing"... or just the main branch that CryTek still owns and does liscense out.

    But yeah we still currently have Godot that is opensource and run by an NGO/NonProfit that at least currently doesnt seem to be totally dominated by corpo spending/influence.

    And it only makes conceptual sense to adopt a 3rd party AAA engine as an industry standard if youre financially fucked as a publisher/game studio. Its basically the same thing as a company being bought out by private equity; the only thing that can happen from that point is squeezing the last bit of juice out of whatever is left.

    Because when there's a monopolistic game engine, well it just colludes with monopolistic hardware.

    Then nobody in the bottom 90% can afford the 'AAA' experience, because prices are too high, because the engine doesn't need to be optimized, because that would decrease monopolistic rents on the hardware, which also doesn't need to be optimized.

    So that market and production model cannibalizes itself.

  • source
  • parent
  • [–] 11 points 1 week 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.

  • source
  • parent
  • [–] 4 points 1 week ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (2 replies)
  • [–] 4 points 1 week 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.

  • source
  • parent
  • load more comments (1 reply)
    [–] 42 points 1 week ago* (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 42 points 1 week ago* (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 26 points 1 week ago (1 child)

    The point of C++ is C, but with extra footguns.

  • source
  • hideshow 1 child comment
  • [–] 24 points 1 week ago (12 children)

    By that logic, if your English language essay gets an F it's the English language's fault?

  • source
  • hideshow 12 child comments
  • [–] 17 points 1 week ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 15 points 1 week ago (4 children)

    Isn't that the role of Rust?

  • source
  • hideshow 4 child comments
  • load more comments (2 replies)
    [–] 7 points 1 week 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.

  • source
  • [–] 5 points 1 week ago

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

  • source
  • [–] 4 points 1 week ago

    Has anyone ever invented actual good modern language yet?

    Yes, it's called Odin.

  • source
  • load more comments
    view more: next ›