I’m not a programmer, but why is Java so high up? Are that many devices still running it?
The Top Programming Languages 2023
Submitted 1 year ago by lysdexic@programming.dev to programming@programming.dev
https://spectrum.ieee.org/the-top-programming-languages-2023
Comments
maeries@feddit.de 1 year ago
lobut@lemmy.ca 1 year ago
It’s fairly ingrained in the programming world now. A lot of common problems are known and solved. A lot of devs can code in Java with little uptake. Java runs everywhere. The tools are pretty good.
Desktop apps and servers run it. So like, processing things and all that run well with it.
As mentioned before, Android uses it too. So there’s a lot going on.
Solemarc@lemmy.world 1 year ago
I think it’s a mix of three things.
-
Java is the only programming language to get popular as a result of marketing. Java was marketed so hard that the company who built it (Sun) went under, but Java did get some really wide adoption.
-
Java is the backbone of Android. If you want to build apps for Android you’re using Java or one of the languages built on top of it (Kotlin, Scala, etc).
-
It’s pretty hard to justify rewriting your codebase to another language. So Java is still around. If you need more proof of this, Most people are still using Java 8 (including android) we are currently at ~java 20.
huginn@feddit.it 1 year ago
Clarification:
Very few android jobs are Java anymore. Native android is almost exclusively Kotlin, barring legacy code.
This is because Kotlin has nearly full interop with Java code and integrates into Gradle well. You can just swap over to Kotlin dev with a small investment of a few weeks learning curve, then program faster and cleaner than Java.
Android is currently on Java 17 for what it’s worth, though very few codebases have gone through the process of upgrading to 17/Kotlin 1.9/Gradle 8.1
lysdexic@programming.dev 1 year ago
Java is the only programming language to get popular as a result of marketing.
I don’t think this is true. Java is an outstanding tech stack and was revolutionary in a lot of ways, to the point that it motivated others to shamelessly clone it and in the process create other outstanding tech stacks. See C#.
For starters, Java solved the deployment problem way before containerization was a thing. Developers could simply put together a fat JAR, drop it in a web server like Tomcat, and it would simply reload without a hiccup.
Java is also very tooling-friendly, and has a solid versioning policy.
-
unquietwiki@programming.dev 1 year ago
A lot of commercial apps are built with it. And if you’re not using Kotlin, you’re probably using Java for Android dev.
lysdexic@programming.dev 1 year ago
And if you’re not using Kotlin, you’re probably using Java for Android dev.
Java is the dominant platform for web services, and some FANGs even standardized their infrastructure around it.
Also, Java is basically the default programming language in some degrees.
balder1993@programming.dev 1 year ago
Just as an example, I worked as a contractor with the biggest bank in Latin America before and basically all their server code is Java (with new code in Kotlin nowadays).
0x0@programming.dev 1 year ago
Do they still have the “billions of devices running java” banner when installing the jre? They could be including Android, as it mostly uses Java.
Spzi@lemm.ee 1 year ago
Above 0.33:
Spectrum
- Python
- Java
- C++
- C
- JavaScript
- C#
- SQL
Jobs
- SQL
- Python
- Java
- JavaScript
- C++
Trending
- Python
- Java
- JavaScript
- C++
- SQL
- C#
- C
Python king. Deserved?
wviana@lemmy.eco.br 1 year ago
Java, JavaScript, Python and SQL and you’ll be pretty safe for some of the years to come.
kicksystem@lemmy.world 1 year ago
I am rooting for Mojo.
passepartout@feddit.de 1 year ago
Depends on the use case.
I wrote a webserver in python the last three years and am now changing to java for a new position, and it feels like programming with training wheels.
But then again i did some data science with python and could not have imagined doing it with java.
tatterdemalion@programming.dev 1 year ago
Who’s going to tell them that SQL is not a programming language.
ImpossibleRubiksCube@programming.dev 1 year ago
You can embed scripts in many mainstream distributions of it, and it’s arguable that writing an SQL instruction is in itself writing a concise program for reviewing a database, so it seems logical to me.
tatterdemalion@programming.dev 1 year ago
Yea I’m mostly poking fun. You don’t even need script embedding for Turing Completeness. But I don’t consider DSLs as general purpose languages, as by definition they are not intended to be used that way.
onlinepersona@programming.dev 1 year ago
I find it amazing that rust is still so far down. Is there something about the language or the community holding it back from gaining spots? Or is it just that other languages are so established, that writing the things that already exist in them just keeps its usercount high?
wth@sh.itjust.works 1 year ago
Keep in mind that this is for « typical IEEE members », which I am pretty sure is not a great representative sample of programmers in general.
How many of you programmers out there are IEEE members?
lysdexic@programming.dev 1 year ago
It’s still way better than counting references in YouTube and twitter.
wth@sh.itjust.works 1 year ago
The lists are quite similar with a slight reordering in the top 7 or 8. But there is one interesting difference:
IEEE: Python, Java, C++, C, JS, SQL, Go TIOBE: Python, C, C++, Java, C#, JS, VB (!), SQL
In IEEE, VB is way way down the list. Do IEEE members use VB less?
I’m always amazed that C still scores so high, but I’ve been told there is a lot of embedded work still going on.
ImpossibleRubiksCube@programming.dev 1 year ago
Not unheard of. I used to be one.
wth@sh.itjust.works 1 year ago
I am one… but I’m the only one I know at my company and socially.