• Mango
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      What’s that got to do with making things cross platform? Java programs only need to run in a Java runtime environment of which there’s one for basically everything. If you make something that runs in a JRE, it’ll be able to run on any device with a JRE that’s up to date for it.

      • kewjo
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        given how many targets are supported by llvm there’s really little difference in cross platform support asides from building artifacts for the specific target platform. wrapping package delivery in a package manager removes the additional complexity to the end user.

      • Olgratin_Magmatoe
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        4
        ·
        1 year ago

        Minecraft Java runs like dog shit. Making a faster port of it was worth it. They just botched it because Microsoft got its hands on it.

        • Mango
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Oh yeah that totally explains why it’s always been perfectly fine for me as long as I’m not looking at a giant wall of those shelves that display their contents from whatever modpack that was.

            • Mango
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              1 year ago

              So? What’s that got to do with making it cross platform?

              I could ask what makes food hot and you would come in here telling me your refrigerator brand uses less electricity.

              • Olgratin_Magmatoe
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 year ago

                I wasn’t strictly talking about cross platform. I was talking about performance, which is tangential to the cross platform thing.

                If you’re planning on making a game cross platform, you should choose a language that performs well for gaming on all platforms. Java ain’t that. Which answers your question:

                In what world is c++ better for cross platform than Java?

                C++ is better for this application.