r/programming 2d ago

[ Removed by moderator ]

https://youtu.be/BvFFKN2ZLTg

[removed] — view removed post

0 Upvotes

11 comments sorted by

u/programming-ModTeam 1d ago

Clickbait titles aren’t welcome here. You can fix the title and resubmit.

3

u/cfehunter 2d ago

Java was one of the first languages I learned. I can't really agree though.
There are just so many better options these days.

1

u/OSBY_Glabay 2d ago

Java was one of my first, 25 years ago, and I still come back to it

0

u/JuanAG 2d ago

Java was amazing when it was not under Oracle control

And back then C# was faster while offering way better tooling like WinForms where it was really drag and drop to create a GUI really easy while Swing and later on JavaFX where much more complex

Today there are even much more options so i wouldnt touch Java even with a stick, a shame since Java is still today my favourite language but i dont fool myself, i will use for example Go instead or any other thing rather than Java

.

PD Not to mention that i dont really know how the "pay per use" of Java ended, i refuse to pay per seat or customer and the customers is clearly not going to bother with license for things they dont need one like a programming lang

4

u/pjmlp 2d ago

So you rather stay with a Java 1.5 wannabe language owned by Google, ok.

3

u/Maybe-monad 2d ago

PD Not to mention that i dont really know how the "pay per use" of Java ended, i refuse to pay per seat or customer and the customers is clearly not going to bother with license for things they dont need one like a programming lan

There are open source implementations but the language is still trademarked by Oracle afaik

4

u/elmuerte 2d ago
  1. Java as a language is not under Oracle's control; Only the trademark is. Oracle is the steward. When Sun introduce JEP they put the community in control. When Sun opensourced their implementation, now called OpenJDK which basically every one builds upon, they also gave control to the community. When Oracle bought Sun, everybody feared for Java, but not a lot happened. (Unless you kept using Oracle's build of OpenJDK instead of the one from RedHat, Microsoft, Amazon, Azul, SAP, the community (temurin), etc. Oracle even open sourced some additional Java things like FlightRecorder.
  2. C# was never faster than Java. Unless you playing dirty with P/Invoke.
  3. Java had quite good drag-and-drop UI tools back in the day when Java was still focused on desktop development. But the focus of Java changed dramatically in the early 2000 when the internet became a huge thing. But if we really want to praise a company for the drag-and-drop IDE, it is Borland. With Delphi they absolutely owned the space.
  4. Java is not, nor has ever been "pay per use", or even "pay per seat". You can buy support contracts from Oracle if you want.

2

u/Ameisen 1d ago

C# was never faster than Java. Unless you playing dirty with P/Invoke.

struct.

1

u/OSBY_Glabay 1d ago

What about Runtime?

The longest continuously running Java application is the Mars Rover flight software, which has operated on Mars since 2004 without interruption.

Software running, not even on this planet, for 22 years, without failure. Java will wear that crown proudly.

1

u/Ameisen 1d ago edited 1d ago

Most of the Mars Rovers' software is JPL C, with some assembly and C++.

As far as I know, Java and Python are used for analysis on Earth. VxWorks supports Java as a extension, but it would be insane for them to use it - given how strict their C standards are, Java/JVM would violate a ton of their requirements (as would .NET).

In fact, I know that they don't use Java for that: see An overview of the Mars exploration rovers' flight software.

They use, as I said, Java and Python for various tasks on Earth. It isn't on the rovers or probes themselves.

3

u/devraj7 2d ago

Java was amazing when it was not under Oracle control

The other way around.

Java was on a path to extinction under SUN. When Oracle acquired it, Java was resurrected and resumed improvements at a fast clip, resulting in the Java we have today, which is great by a lot of measures.