• Moonrise2473@feddit.it
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    7
    ·
    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
      ·
      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.

    • 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@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        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.