How is it possible that a modern engine like UE5 is written in a 30 year old programming language (C,C++)?

How is it possible that a modern engine like UE5 is written in a 30 year old programming language (C,C++)? How the frick do you even write a game engine? Just with text? Its beyond my understanding.

It boggles the mind!

It's All Fucked Shirt $22.14

Yakub: World's Greatest Dad Shirt $21.68

It's All Fucked Shirt $22.14

  1. 2 years ago
    Anonymous

    >What is math
    A notepad is all you need to code literally everything ever made.

    • 2 years ago
      Anonymous

      But dont the lines of code stack up exponentially? Meaning Quake 2 engines compared to UE5.

      • 2 years ago
        Anonymous

        Millions of lines by now probably. It's decades of building up.

  2. 2 years ago
    Anonymous

    because c++ is the most powerful language ever invented and you cannot change my mind

    • 2 years ago
      Anonymous

      How was C++ written? And why not use that?

      • 2 years ago
        sage

        https://en.wikipedia.org/wiki/Assembly_language
        have fun coding a game in assembly moron

        • 2 years ago
          Anonymous

          >have fun
          Oh, I am. ;^)

        • 2 years ago
          Anonymous

          >Me
          >Competent in Python and JS/TS
          >Struggling with C#
          >Intimidated by C/C++
          >Cannot even wrap my head around Assembly
          Sometimes I feel really small and stupid

          • 2 years ago
            Anonymous

            >Python and JS/TS
            Yeah, you are stupid

          • 2 years ago
            Anonymous

            If your program runs and has acceptable performance who cares, everyone on the internet says they are 6'5 and write OS-level C that's just par for the course.

          • 2 years ago
            Anonymous

            why are you interested in programming?

            • 2 years ago
              Anonymous

              It's because of my job. I started with After Effects expressions and as I get better at that, writing scripts to automate certain tasks is just natural progression. I jumped to Python to automate tasks outside of After Effects.

      • 2 years ago
        Anonymous

        Are you asking how the C++ compiler was written? There are multiple independent compilers, but I believe the most popular are all written in C++. Originally, they were probably written in C, before they had the capability to bootstrap the language.

  3. 2 years ago
    sage

    >How the frick do you even write a game engine?
    writing a game engine is hard if you try to do everything yourself. if you use lots of libraries to handle shit for you it goes from improbable to just unreasonably difficult. also the fact that it's using C++ is completely irrelevant, there are basically zero languages that rival it

  4. 2 years ago
    Anonymous

    it starts from shit like Pong and gets built upon by millions of people, its not a hard concept to grasp

  5. 2 years ago
    Anonymous

    basically you can use math to tell a computer how to imagine shapes, and then you can tell it to draw said shapes on your screen
    https://www.a1k0n.net/2011/07/20/donut-math.html

  6. 2 years ago
    Anonymous

    Language age doesn't matter, moron, computers still work the same as the past when inputing instructions, now there's more and they handle it at the hardware level differently. But you rely on the compiler to compile your code down to assembly level code so as long as the compiler gets updated new instructions can still be used if the compiler was updated any good. New shit modern languages are complete garbage, all languages after C are garbage, they are just adding bloat and taking away control so moronic monkey Black folk can work together at the level of the lowest common denominator and the performance is multitudes slower, C is the easiest language if you can conceptualize how memory and CPU work and all languages after used it as the basis. GPU shit is all from the graphics API, the Black folk don't let you interact with the GPU directly and only approved shit API works, those are all written in C. Making a game engine is 99% working with the graphics API, because that's really all it does for the user of these public ones, besides abunch of shitty libraries like physics and other garbage, and gives you a shitty editor.

  7. 2 years ago
    Anonymous

    if you aren't using Assembly you aren't really programming

    • 2 years ago
      Anonymous

      If you haven't written your own compiler you aren't really a programmer.

      • 2 years ago
        Anonymous

        Try writing a C++ compiler and come back

        • 2 years ago
          Anonymous

          01011001 01101111 01110101 00100000 01100001 01110010 01100101 01101110 00100111 01110100 00100000 01100001 00100000 01110010 01100101 01100001 01101100 00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101 01101101 01100101 01110010 00100000 01110101 01101110 01101100 01100101 01110011 01110011 00100000 01111001 01101111 01110101 00100000 01100011 01100001 01101110 00100000 01110010 01100101 01100001 01100100 00100000 01110100 01101000 01101001 01110011 00101110 00100000

        • 2 years ago
          Anonymous

          Why would I want to make a compiler for a bloated, soi-core language.

          • 2 years ago
            Anonymous

            >soi-core
            I bet you use Swift and Rust moron

            • 2 years ago
              Anonymous

              >he doesn't write c/c++ code in assembly
              All the benefits of those languages without the programmatic beaucracy. It's like being able to freely cut into a long line while there's nothing all the seething betas waiting can do about it.

    • 2 years ago
      Anonymous

      People will literally kidnap you from the street the moment they learn you can write assembly. Your boss is gonna wipe your ass and suck your balls. I'm not even kidding.

      • 2 years ago
        Anonymous

        top fricking KEK

        there's a basedlord next door writing basedscript for twice the money

  8. 2 years ago
    Anonymous

    It's literally an ant colony where there are millions of ants with specific functions/tasks creating a large working system. It's not something you're going to understand as a whole as an individual.

  9. 2 years ago
    Anonymous

    C and C++ are both still being updated. In fact, both languages have pretty significant revisions releasing next year. The language's age doesn't really matter though.

    • 2 years ago
      Anonymous

      But no one even uses those updates, most people still use C89 or 99, new updates are bloat, as for C----, they probably enjoy new bloat and fixes for problems caused by old bloat.

      • 2 years ago
        Anonymous

        That really just a blanket statement with nothing to back it up, and it's kind of irrelevant to my point that the age of the language doesn't matter. Anyway, Unreal Engine 5 uses C++17.

        • 2 years ago
          Anonymous

          C best.

          • 2 years ago
            Anonymous

            why isnt there anything below 1.00

            • 2 years ago
              Anonymous

              It's just another way to write 100%.

            • 2 years ago
              Anonymous

              Interesting, thanks anon. Where do you think assembly languages would rank in this table?

              >why not make assumptions about things you don't know about?

              are you really posing this to me as a quandry of rational thought

              Fair point.

          • 2 years ago
            Anonymous

            Except writing enterprise applications in C is a poor allocation of time. The devlopmental savings by switching to even C++ would be significant

            • 2 years ago
              Anonymous

              And the time lost learning it would be a lifetime.

      • 2 years ago
        Anonymous

        thats not true, most FAANG and other high tech companies expressly forbid doing things in a pre C++11 way and won't merge your code if you're not using modern features

        • 2 years ago
          Anonymous

          FAANG companies are full of poojets and moronic normalgays, I could give less of a shit about how THEY think things should be.

          • 2 years ago
            Anonymous

            >no one uses the modern shit
            >but that's literally 90% of new code written in the world
            uhhh

            • 2 years ago
              Anonymous

              Most modern developers are normalgays that don't understand shit unless it's been abstracted to hell and back, more news at 11.

            • 2 years ago
              Anonymous

              They are also 90% diversity hires

              go figure

  10. 2 years ago
    Anonymous

    It's fascinating. How are words impacting what's happening
    how did people manage to coordinate words with actual physics wtf

    • 2 years ago
      Anonymous

      Because the words don't exist moron, it's just 0 and 1s bits stacked together to make bytes and math.

  11. 2 years ago
    Anonymous

    >30 year old
    Try 50 and 40 respectively

  12. 2 years ago
    Anonymous

    >programming languages get bad because they're old or something

    You're right, it is beyond your understanding.

    • 2 years ago
      Anonymous

      Not OP. It's a fair question specially regarding technology since technology is always being improved on. Why not assume that new languages are also better? It's not the case here but it's fair to know where he's coming from.

      • 2 years ago
        Anonymous

        >why not make assumptions about things you don't know about?

        are you really posing this to me as a quandry of rational thought

  13. 2 years ago
    Anonymous

    Idk why you think logic will ever be obsolete.

  14. 2 years ago
    Anonymous

    Unreal engine has some of the cleanest C++ code I've ever seen. Its really top notch

    • 2 years ago
      Anonymous

      if only Tim Sweeney would go back to doing what he was good at.

  15. 2 years ago
    Anonymous

    There are only so many way you can use a CPU's instruction set and bidimensional RAM. They figured it out decades ago, most modern language development goes to dumbing down these archaic languages for the newer, dumber generations.

  16. 2 years ago
    Anonymous

    >t. java script programmer

  17. 2 years ago
    Anonymous

    People who code C are in fact Assembly programmers. C is just a small set of abstractions that translate directly into Assembly. Now C++ is whole another thing that adds new ways to code.

Your email address will not be published. Required fields are marked *