• Otter@lemmy.caOP
    link
    fedilink
    arrow-up
    1
    ·
    5 hours ago

    I’m surprised by the sudden drop-off vs continuing the downward trend, maybe AI tools are biased against it?

    I think Go is a more modern replacement for it

    • [object Object]@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      5 hours ago

      I always found it really annoying to compile java codebases, I don’t really see any reason why I would recommend Java in 2026.

      Maybe the Oracle toxicity is taking a toll.

      I do think Rust tools are taking up a lot of the space where Java dominated, especially databases and data tooling. I guess it depends, I think a lot of the web-server cases can easily be written in Go, and the data applications can easily be written in Rust, and neither of those have cross platform compatibility issues that Java promised to solve.

      • MonkderVierte@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        3 hours ago

        and neither of those have cross platform compatibility issues

        As long as you’re on one of the two - three major kernels and architectures. LLVM isn’t especially portable.

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 hours ago

        Doesn’t Rust compile to native binaries? That’s traditionally how you solved the “platform compatibility issues.” lol

        • Zak@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 hours ago

          Java was designed in the 1990s, and several things that were true then are not true now:

          • A bunch of CPU architectures mattered. Java could run on x86, SPARC, POWER, MIPS, PowerPC, PA-RISC, Alpha, and S/390. Now things other than x86-64 and ARM don’t matter much.
          • A bunch of operating systems mattered. Java could run on Windows, Mac OS, several different kinds of Unix, Linux, BSD, and a bunch of niche systems via third-party implementations. Now, Windows, Mac OS, and sometimes Linux matter on the desktop. Servers are almost always Linux.
          • Proprietary applications mattered more. It was very likely you needed to run something the vendor wasn’t going to give you sources for.
          • Proprietary libraries were (more of) a thing. It was very likely the thing you’re building needed to link to libraries you couldn’t get sources for.
          • Software was distributed on physical media. The average home internet connection was a 56k modem that rarely connected at such a high speed.

          The idea of “compile once, run anywhere” had genuine appeal.

          • jaybone@lemmy.zip
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 hours ago

            I think I’ve only ever built a rust project once. (That was to test running a lemmy instance of all things.) I don’t recall it being any more or less difficult than building a c/c++ project. What makes it less painful?