• mtchristo@lemm.ee
    link
    fedilink
    English
    arrow-up
    96
    arrow-down
    3
    ·
    15 hours ago

    Roller coaster Tycoon is one of a lifetime game.

    Now everything is electron or react shit. Gone are the times of downloading fully featured software under 10mb.

    • sushibowl@feddit.nl
      link
      fedilink
      English
      arrow-up
      16
      ·
      4 hours ago

      Fun quote from an interview with Chris Sawyer:

      Latterly the machine code came back to haunt us when the decision was made to re-launch the original game on mobile platforms as RollerCoaster Tycoon Classic a few years ago, and it took several years and a small team of programmers to re-write the entire game in C++. It actually took a lot longer to re-write the game in C++ than it took me to write the original machine code version 20 years earlier.

      • Klear@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 hour ago

        Well worth it. The mobile version is amazing, that is to say, almost exactly the same as the original.

        • BigDanishGuy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 minutes ago

          #include <iostream> // because writing to the console is not included by default.
          int main()
          {
          std::cout << "C++ is simple and fun ... you cretin";
          return 0;
          }

          I had a machine language course in uni, parallel with a C++ course. Not a fun semester to be my wife, or a relative of any of my classmates. Best case our brains were in C++ mode, worst case you needed an assembler to understand us.

          And yes I know my code format will piss people off, I don’t care, it’s the way I write when other less informed people don’t force me to conform to their BS “Teh oPeNiNg bracket shouwd bwee on teh sam line ass teh declawation

      • otp@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        36
        arrow-down
        3
        ·
        12 hours ago

        Probably not as optimized though.

        RCT could run on a toaster from the 90’s (ok, maybe early 2000’s) and looked amazing for the time.

        OpenRCT can run on a toaster from the 2010’s and looks great because of the timeless art style of the original.

        It’s still an incredible feat, though!

        • patatahooligan@lemmy.world
          link
          fedilink
          English
          arrow-up
          11
          ·
          3 hours ago

          You are very unlikely to write assembly that is more optimized than what a modern compiler could produce for anything longer than a trivial program. I don’t know if it made sense at the time of the original RCT, but OpenRCT would definitely not benefit from being written in assembly.

          • jas0n@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            42 minutes ago

            I feel like that’s only true if I was asked to “write the assembly for this c++ program.” If I’m actually implementing something big in assembly, I’m not going to do 90% of the craziness someone might be tempted to do in c++. Something that is super easy in c++ doesn’t mean it’s easy for the CPU. Writing assembly, I’m going to do what’s easy for the CPU (and efficient) because, now, I’m in the same domain.

            The bottom line is cranking up the optimization level can get you a 2-5x win. Using memory efficiently can give you a 10-100x win.