Heyy, I’m learning programming and trying to choose a focus, I saw you can make web/backend w node, desktop (bloatware but discord uses it so if it works it works), games (not AAA and not optimized for performance but it shouldn’t matter for indie too much) Is there anything that compares? I wanna focus on one thing instead of spreading myself over a ton of languages, I do feel js is interesting for this, but I’m just starting out, so looking to hear some thoughts of people more familiar with programming.

  • SlayersFan@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    4 days ago

    so python/c can be used for web/backend desktop gui apps, mobile apps and games? I’m not talking just about what’s the “best” language but the more versatile, also i haven’t included it, but speed of development (how long it takes to write the code for the programmer) is also a plus

    • one_old_coder@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      Most modern games are written in C++. If you need speed using a high-level language, there is only C++ (or maybe optimized C#).

      • NotSteve_@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        4 days ago

        Most modern games are built on engines written in C++ but game development is usually done in languages like C# on top of those engines, no? Unless you’re doing engine development you probably won’t be touching C++

        I could be wrong since I’m in software and not games but that seems to be the way

        • gastroglizzy@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          4 days ago

          It depends on the engine. Unity is based on C# so it isn’t as performant as Unreal Engine 4 and 5, which use C. Unreal Engine uses UnrealScript, which is an intermediary language based on Java, which is similar to C#. The Source/id/Quake engine also uses C.