5

C# Challenges Java in Programming Language Popularity - Slashdot

 11 months ago
source link: https://developers.slashdot.org/story/23/10/15/024247/c-challenges-java-in-programming-language-popularity
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

C# Challenges Java in Programming Language Popularity

Sign up for the Slashdot newsletter! OR check out the new Slashdot job board to browse remote jobs or jobs in your areaDo you develop on GitHub? You can keep using GitHub but automatically sync your GitHub releases to SourceForge quickly and easily with this tool so your projects have a backup location, and get your project in front of SourceForge's nearly 30 million monthly users. It takes less than a minute. Get new users downloading your project releases today!
×

C# Challenges Java in Programming Language Popularity (infoworld.com) 94

Posted by EditorDavid

on Sunday October 15, 2023 @12:34AM from the popularity-contests dept.

"The gap between C# and Java never has been so small," according to October's update for TIOBE's "Programming Community Index".

"Currently, the difference is only 1.2%, and if the trends remain this way, C# will surpass Java in about 2 month's time." Java shows the largest decline of -3.92% and C# the largest gain of +3.29% of all programming languages (annually). The two languages have always been used in similar domains and thus have been competitors for more than 2 decades now. Java's decline in popularity is mainly caused by Oracle's decision to introduce a paid license model after Java 8. Microsoft took the opposite approach with C#. In the past, C# could only be used as part of commercial tool Visual Studio. Nowadays, C# is free and open source and it's embraced by many developers. There are also other reasons for Java's decline. First of all, the Java language definition has not changed much the past few years and Kotlin, its fully compatible direct competitor, is easier to use and free of charge.

"Java remains a critical language in enterprise computing," argues InfoWorld, "with Java 21 just released last month and Java 22 due next March. And free open source binaries of Java still are available via OpenJDK." InfoWorld also notes TIOBE's ranking is different than other indexes. TIOBE's top 10:

And here's the Pypl Popularity of Programming Language (based on searches for language tutorials on Google):

Do you have a GitHub project? Now you can sync your releases automatically with SourceForge and take advantage of both platforms. Do you have a GitHub project? Now you can automatically sync your releases to SourceForge & take advantage of both platforms. The GitHub Import Tool allows you to quickly & easily import your GitHub project repos, releases, issues, & wiki to SourceForge with a few clicks. Then your future releases will be synced to SourceForge automatically. Your project will reach over 35 million more people per month and you’ll get detailed download statistics. Sync Now

Dumb (Score:3, Informative)

Java's decline in popularity is mainly caused by Oracle's decision to introduce a paid license model after Java 8. Microsoft took the opposite approach with C#. In the past, C# could only be used as part of commercial tool Visual Studio. Nowadays, C# is free and open source and it's embraced by many developers.

Java is free and open source. Choose a language, but don't turn your brain off.

    • Re:

      OpenJDK is FOSS and you can use it freely without paying for a commercial Java license.
      You are confusing the issue the same way Oracles does hoping to scare suckers into thinking they need to pay a license fee to use Java. We got those stupid emails too and I told Oracle we use OpenJDK and that was the end of that.

      • Re:

        .net is FOSS and you can use it any way you like without paying for Larry Ellison's 3rd yacht. The Java shakedown is real.

        • Re:

          I'm not sure you're following. OpenJDK and various other builds are completely free, completely open source and completely without restriction.

          For some versions of the Oracle-supplied JDK, you need a commercial license. The moment that appeared everyone switched over to OpenJDK and got on with life. There are no restrictions.
            • Re:

              > Use Java at all, OpenJDK there's still a high chance of the org having to go through their extensive review, Being found to be short on licenses, and then have to raise it as a defense that they are OpenJDK. The problem is using Java at all opens up the possibility of this coming up.

              This post seems to be generated by ChatGPT.

              No, there's no "extensive review" and no company is found to be short on licenses, by using OpenJDK. Company policy is "use OpenJDK" and we're done because the infrastructure is pr

              • Re:

                Who cares about licensing, Java sucks with or with out licensing.
              • by Junta ( 36770 ) on Sunday October 15, 2023 @10:33AM (#63926397)

                A colleague told me that His company got invoiced during an audit because oracle found some vendor devices offering up java webstart applications and inferred every desktop needed an implied jre license, because they assumed it would be needed.

                You may be safe if you have no business relationship with oracle, but if any part of your company has a business relationship with oracle, the audits often assume the worst and invoice you accordingly.

                • Re:

                  Oracle is aggressive about audits. Back in the mid 90s, we were using Oracle database for our website. An overkill for what we needed. Just one Oracle product. Granted it was a small business. And then we got a notice of an Oracle audit. A first ever software audit for us. We switched to PostgreSQL. I have avoided Oracle products since then. I did use Java for a while when Sun owned it. Now, I primarily use C#. The biggest issue with C# for me was that it was not cross-platform. And the tooling,

                • Re:

                  A colleague told me that His company got invoiced during an audit because oracle found some vendor devices offering up java webstart applications and inferred every desktop needed an implied jre license, because they assumed it would be needed.

                  This is exactly the sort of thing i'm referring to. OpenJDK Only provides a potential argument to avoid buying all that Java - It doesn't mean the 3rd party auditor won't come to this finding or that the vendor won't advance the argument that you gotta pay for all

              • Re:

                Oracle likes to go fishing.

              • Re:

                No, there's no "extensive review" and no company is found to be short on licenses

                Hi... Which division of Oracle do you work for?

            • Re:

              "Also, even if you used the OpenJDK they still bother enterprises about Java usage."

              Find me one example of a company being harassed by oracle for using OpenJDK.

              Also "no one knows about it" is a naive thing to say given it's the default JDK for Ubuntu and others

              • Re:

                Well there was that 8 billion dollar lawsuit against Google...

                • Re:

                  Yeah no shit, the claim was that with "OpenJDK they *still* bother enterprises about Java usage"
              • Re:

                Find me one example of a company being harassed by oracle for using OpenJDK.

                "Harassed" is not the right word.. You have another Oracle app somewhere in your organization, then there is contractual language requiring you to submit to an audit --- In that sense they "Harass" every single company who purchases any of their software on a regular basis - You have a server in a closet somewhere running Oracle DB, and that's enough. They'll send in auditors you're required to comply with that will go through

      • Re:

        Examples. "With C#"

      • Re:

        It comes with.Net Maui. And several are on Github, some even Microsoft supported.
          What's wrong with that? And of course, lots web stuff is built in, ASP.Net is pretty large.

        Does Java have any native cross platform stuff built that isn't ugly, slow garbage that everyone hates?

      • Re:

        You claim to be a Java developer but you sure as shit make me wonder whether that's true. FFS you don't even know what the tooling is? You never heard of ANT, Maven, or Gradle? Probably worth mentioning at this point that Java's tooling isn't even built in. Or at least, nothing useful is..Net framework's tooling was mostly gui driven and was built into visual studio..Net core uses dotnet cli, which isn't even remotely similar to any of the existing Java tooling. It's much more straightforward to use. If a

        • Re:

          You never heard of ANT, Maven, or Gradle?
          This are all Java tools that got ported to.Net.

          So: what is your point? How can the "tooling" on.Net be better than on Java, when basically everything good on.Net is a port from Java?

          Probably worth mentioning at this point that Java's tooling isn't even built in.
          Build into what? You can use every Java tool either inside of the IDE(s) or from the command line. No clue what your stupid rant is about.

          You wrote: Goes quite a bit deeper than that actually. Among othe

    • Re:

      Fuck Oracle. Everything they touch, rots.

      C# is not a "better" language. Java had a lot of promise, and then Oracle basically turned it into a proprietary mess. We wouldn't have needed C# had Java been integrated into web browsers instead of Javascript.

      It's that serious betrayal why Java should not be used in any context. What happened with Android is the number one reason why Java should be ABANDONED.

      C# has more similarity to C++ and that's it's downfall. It's hard to understand, because C++ is hard to unde

  • by DrXym ( 126579 ) on Sunday October 15, 2023 @06:03AM (#63926113)

    The code is open source but the Oracle builds are not. Yes there are alternative builds like Corretto but this sort of shit annoys people. So too does the glacial pace of improvement in Java land althought Java 21 has some good stuff. I dont see C# being much better though. If I were starting a fresh project not sure I'd want to use either of them.

  • So is C# and.NET.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK