r/java • • May 21 '20

Java programming language celebrates 25 years

https://www.infoworld.com/article/3544229/java-programming-language-celebrates-25-years.html
309 Upvotes

38 comments sorted by

View all comments

12

u/OtherOtherNeRd May 21 '20

Anyone else want to write some programs in Java 1.0 for some frustrating nostalgia?

26

u/SomervillainSB May 21 '20

The nice thing is that if compiled on Java 1.0, it will run faster on a modern JVM....and if you actually did write a library in Java 1.0 25 years ago, it will work great with the latest Java code you write today.

It used to be heavily hyped, but I sense people don't appreciate it enough the "write once, run anywhere" features. Originally, it was hyped to allow windows/UNIX/linux cross-compatibility...but now I really appreciate how it means it works great across OS generations. Patch your underlying OS all you want, your Java code will still run great...I have been burnt by Node and Python apps breaking on OS updates.....NEVER had such an issue in Java and the Java apps I write and run are far more complex.

Java is not as fashionable as it was 15 years ago, but it really underappreciated. People take for granted how great it is.

8

u/sefsrgerhdtr May 21 '20

Totally agree. People like to bash the language because of how they feel about Oracle.

But if we put politics aside and focus solely on the text, there is something to be said for my ability to deploy openjdk on a raspi, run all the code I expect it to run at quite a high level of performance, and it is just about as easy to use as node.

For me it is the perfect sweet spot of performance and lack of needless complexity (C++...)

2

u/SomervillainSB May 22 '20

Plus your libraries written on today's Raspberry Pi, will work on whatever device you use 20 years from now...no matter the OS evolution. You really can just solve a problem once and never think about it again.