• Wilzax@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    Your game will actually likely be more efficient if written in C. The gcc compiler has become ridiculously optimized and probably knows more tricks than you do.

    • dejected_warp_core@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Especially these days. Current-gen x86 architecture has all kinds of insane optimizations and special instruction sets that the Pentium I never had (e.g. SSE). You really do need a higher-level compiler at your back to make the most of it these days. And even then, there are cases where you have to resort to inline ASM or processor-specific intrinsics to optimize to the level that Roller Coaster Tycoon is/was. (original system specs)

      • Wilzax@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        If you’re writing sloppy C code your assembly code probably won’t work either

  • mtchristo@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months 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.

    • flashgnash@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      9 months ago

      I don’t think old=good is a good mentality though, lot of people seem to have it

      All the old software I know and use is exceptionally good, however I’ve heard about and chosen to use it because it’s survived the test of time (also because it’s still actively maintained and has had thousands of bug fixes over the years)

      Vscode and obsidian are pretty good and they’re electron, discord’s alright, pretty sure steam uses some kind of web wrapper as well.

      Real issue is electron is very accessible to inexperienced developers and easy to do badly, but I imagine people back in the old Unix days got an equal amount of shit bloated software

      • lorty@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Survivor bias is a thing and part of the reason people are nostalgic for old media.

        • Lennny@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          9 months ago

          For every There Will Be Blood, there exists an Alien vs Predator: Requiem

  • Gork@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Shifts bit to the left

    Um what am I doing

    Shifts bit to the right

    program crashes

  • Valmond@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    try writing it it in Assembly

    Small error, game crashes and takes whole PC with it burning a hole in the ground.

  • einlander@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago
    • Programming was never meant to be abstract so far from the hardware.
    • 640k is enough ram for everybody.
    • The come with names like rust, typescript, go, and python. Names thought up by imbeciles.
    • Dev environments, environmental variables, build and make scripts, and macros, from the minds of the utter deranged.

    They have played us for fools

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    Step 1: Begin writing in Assembly

    Step 2: Write C

    Step 3: Use C to write C#

    Step 4: Implement Unity

    Step 5: Write your game

    Step 6: ???

    Step 7: Profit