• Moonrise2473
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    6
    ·
    8 months ago

    I can’t think to any program made in java that isn’t a memory hog.

    Look at the performance of Minecraft java vs native

    Or vuze that uses 20x the memory of qbittorrent for doing the same stuff but with less features

    So either java devs don’t know how to optimize code, or the language itself has some problems

    • DarkThoughts@kbin.social
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      8 months ago

      Of course there comes the Minecraft comparison. Which also conveniently ignores the fact that Minecraft can run incredibly fast using certain performance mods. It’s not Java, it’s just shitty programming / code that hogs its performance.

      • Moonrise2473
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        i did a comparison also with vuze, which is incredibly inefficient compared to other clients

    • HeartyBeast@kbin.social
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      8 months ago

      can’t think to any program made in java that isn’t a memory hog.

      Can you think of any Java programs that aren’t Minecraft, tho?

      • Moonrise2473
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        ok, give me a list of programs made in java that are faster or use less resources than a similar program written in any other decent language when run on the same hardware.

        The list has zero entries.

      • taanegl@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        8 months ago

        Pretty much large suathes of banking and financing companies, as well as other massive industries, which btw are hiring and pay well.

        Java (or rather JVM) is slow at first, but once a JVM has “booted” Java performance wise is on par with the performance of other languages, even system languages. This isn’t too apparent in the open source world, because Oracle.

        Most infrastructure running on Java have been doing so for decades and continues to be implemented, not because the project managers are idiots, but because the software is portable and java (believe it or not) is getting better, similar to how JS has gotten better post-TypeScript.

        So let’s not throw the language and infrastructure on the fire in a time when we know *technical debt" is just an executive excuse to allow rushed, faulty and unoptimized programming in order to meet insane deadlines by white collar deadites.

        “Agile”, “crunch”, “technical debt”. We’ve been taken for absolute fools, and now we’re blaming the tools. Smh.

        • HeartyBeast@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Ah sorry - I wasn’t dissing Java - I was questioning the commenter’s knowledge of Java, given that Minecraft was the example they chose.