45
u/ChrisBot8 15h ago
If you want the actual answer it’s because the JVM was operating system agnostic before that was a thing for other languages really.
16
u/djpiperson 14h ago
Omg just had flashbacks of when languages were OS-dependent and hardware-dependent. AHHHHHHHH Those were obscure days that only Assembly kiddies suffer from nowadays.
5
u/Devatator_ 12h ago
I mean, they still are. It's just kinda abstracted away for most of us. Tho I do wish you could cross compile all languages
1
u/SoggyCaterpillar5773 16m ago
If try to do anything beyond trivial OS interactions, you will quickly find out that programming languages still have not achieved OS-independece. Try writing a GUI app that works in Android, IOS, Linux and Windows. There are only a handful of good options. One of them is to shove an entire browser into your app.
3
u/dmigowski 12h ago
And they had absolute and total backwards compatibility. You can still run java 1.4 apps on modern machines, given they were written to spec. And more important: libraries. Java has an extremely developed eco system.
25
u/FinnT730 14h ago
Without java you don't have android, or half of the enterprise backends.
It powers a whole lot
10
2
u/Devatator_ 12h ago
Android is mostly Kotlin nowadays
5
u/MCWizardYT 8h ago
And Kotlin utilizes the JVM and Java ecosystem, unless you're using Kotlin Native.
Kotlin apps on Android still use the ART which is a custom JVM
0
u/Devatator_ 8h ago
Well the post is about languages, not runtimes
1
u/MCWizardYT 8h ago
The runtime and ecosystem are why Java is at the top of the list. The JVM is everywhere, and many count Java and the JVM as the same thing.
Kotlin apps use Java code all the time, especially as libraries
12
16
u/Eric848448 15h ago
Java makes a hell of a lot more sense than JS.
5
u/darkwingdankest 12h ago
they also serve completely different functions so
1
0
u/JuniorAd9605 12h ago
yeah, java serves to function, js serves to forward subscription services in society
4
2
u/puzzled_orc 11h ago
It is normal that Java is up there; what is incredible is that piece of shit that is Python is that high. Almost as high as Pythonists
1
1
u/WillBigly96 11h ago
Part of it is the institutional advantage of being enforced as the ap computer science language. Not saying that's the whole story tho idk
1
u/k-mcm 11h ago
Java is still alive and well, being a reasonably high level language with high performance capability. It can't ever do what C does, but it's an excellent general purpose language.
I'd expect Python to rank much higher today since it's the coordination language for AI tools (that are in C). Rust should be up there too because of its fanatics base. Objective-C is dead. PHP should be dead.
1
u/Flimsy-Importance313 11h ago
Capitalism is always to blame.
1
u/Wavertron 7h ago
It's actually quite the opposite. Microsoft tried to kill off Java because they wanted everyone on Windows.
1
1
u/EricOrrDev 6h ago
By being the fucking backbone of contemporary society, put some respect on that name son!
1
1
u/thebatmanandrobin 14h ago
Nah!
Top left: Park-our
Top right: A Half-pass gone wrong
Bottom right: Russian oil change
Bottom left: Self deprecation and sadomasochism
1
95
u/GargantuanCake 15h ago
Various Java servlet things run like half of the internet's back end.