News for hackers. Stuff that matters.
Re:“I am literally losing sleep” over Java (1996) by joelthelion on Thursday January 06, 2022 @08:57AM (#29823541)
Java didn't kill Microsoft though.
Re:“I am literally losing sleep” over Java (1996) by forgetfulness on Thursday January 06, 2022 @09:08AM (#29823677)
In a very indirect way; leveraging its popularity, and coming on the heels of Apple to create a captive audience for their ad networks and surveillance machinery, Google used Java to spring up a developer base for Android, which ate away at the use of MS product outside of the US like iOS did stateside.
Re:“I am literally losing sleep” over Java (1996) by tonyedgecombe on Thursday January 06, 2022 @09:00AM (#29823584)
No but it did a pretty good job of finishing off COBOL.
Re:“I am literally losing sleep” over Java (1996) by sgt on Thursday January 06, 2022 @09:48AM (#29824141)
There's certainly less COBOL, but finished off? Most banks run the most critical code on COBOL and new programs are being written all the time.
Re:“I am literally losing sleep” over Java (1996) by garbagecoder on Thursday January 06, 2022 @01:53PM (#29828062)
I’m COBOL “certified” for whatever iota that’s worth. I don’t think I would say “all the time.” There are legacy systems that are being ported to JVM that remain in COBOL because it “just werx” especially for batch processing.

But I have no experience in banks, but in the military and government. So maybe I’m wrong about what they’re doing, but in my experience it was either all being moved to Java or at least JVM just because some of the physical hardware was getting too old to maintain.

I actually think a lot of the new C-family “modern” languages could learn a couple of things from COBOL. It really makes you be explicit about data.

Re:“I am literally losing sleep” over Java (1996) by tonyedgecombe on Thursday January 06, 2022 @12:11PM (#29826301)
I’d love to see some evidence because my guess is there is an order of magnitude more Java code in banks than COBOL.
Re:“I am literally losing sleep” over Java (1996) by sgt on Thursday January 06, 2022 @01:50PM (#29828024)
Yeah, of course there is. The banks write a lot of code and it's wrapping the crucial COBOL core in various ways.

There's no reason at all to write those parts in COBOL. Banks use primarily Java and C# for that, and it's much easier in terms of recruitment.

Re:“I am literally losing sleep” over Java (1996) by the-dude on Thursday January 06, 2022 @08:57AM (#29823548)
Only because they invented their own.
Re:“I am literally losing sleep” over Java (1996) by pjmlp on Thursday January 06, 2022 @09:37AM (#29824005)
And now they have come around, have bought jClarity and are an OpenJDK contributor with their own distribution.
Re:“I am literally losing sleep” over Java (1996) by cfcosta on Thursday January 06, 2022 @09:04AM (#29823629)
Because Sun (or oracle, I'm bad with time) decided to forbid MS to keep developing their own implementation.
Re:“I am literally losing sleep” over Java (1996) by dtech on Thursday January 06, 2022 @09:08AM (#29823670)
Rightly so. They added all kinds of things that only worked on the MS JVM, which was the "extend" of their EEE strategy, right before extinguish.
Re:“I am literally losing sleep” over Java (1996) by tzs on Thursday January 06, 2022 @09:41AM (#29824048)
Those things were almost all things that you could ignore if you weren't trying to specifically make a program for Windows, and that if you were trying to make a program specifically for Windows made it a lot easier and made the resulting program a lot better as a Windows program.

If Sun had blessed Microsoft's approach and encouraged Apple to do similar for Mac and done similar themselves for Solaris and encouraged someone to do similar for Linux then Java could have become a major language for mainstream desktop applications rivaling C/C++ or perhaps even becoming the most common language for such development.

But Sun didn't want you to be able to write for Windows or Mac or Linux using Java. They wanted you to write for the Java platform which happened to run on Windows and Mac and Linux.

And so Java desktop apps were almost always inferior to desktop apps written in C/C++/Objective C that could make better use of the native GUI and other facilities and did not stand out as some weird ugly alien thing.

Re:“I am literally losing sleep” over Java (1996) by dtech on Thursday January 06, 2022 @09:50AM (#29824169)
They altered things in the java.* namespace [1], making it easy for developers to make things incompatible, as well as leaving out support for cross-platform enabling stuff like JNI and RMI. I can't read those actions as in good faith.

[1] https://www.infoworld.com/article/2077055/what-does-sun-s-la...

Re:“I am literally losing sleep” over Java (1996) by treeman79 on Thursday January 06, 2022 @09:24AM (#29823839)
J++ was the final straw for me. I realized it’s sole purpose was to screw over Java. Not to be useful. Spent last 20 years avoiding Microsoft tech after that.
Re:“I am literally losing sleep” over Java (1996) by copperx on Thursday January 06, 2022 @02:04PM (#29828241)
The cool thing about MS's JVM is that it made Java GUIs look exactly like native Windows Apps. I remember thinking it was a fantastic idea.
Re:“I am literally losing sleep” over Java (1996) by pjmlp on Thursday January 06, 2022 @09:41AM (#29824053)
Unfortunely the new generation seems not to have any issue with Android Java being Google's J++.
Re:“I am literally losing sleep” over Java (1996) by sangnoir on Thursday January 06, 2022 @01:33PM (#29827736)
> Unfortunely the new generation seems not to have any issue with Android Java being Google's J++.

Perhaps that's because it is not? Google aren't adding packages to the java.* namespace, and the language is 100% compatible with Oracle's compiler. Only the bytecode format and runtime are different, but that's no worse than how J2ME was, with SonyEricsson/Samsung/$OEM having their own custom packages (which Sun/Oracle approved of.)

edit: preempting another argument: limiting support to an old version of software/language spec is not a crime, though I'd be happy if Apple could be compelled to update the GPL software they bundle to the latest version (:

Re:“I am literally losing sleep” over Java (1996) by pjmlp on Thursday January 06, 2022 @02:15PM (#29828433)
> Google aren't adding packages to the java.* namespace, and the language is 100% compatible with Oracle's compiler.

It just shows how little experience you have porting anything beyond Java 7 into Android Java.

> Only the bytecode format and runtime are different, but that's no worse than how J2ME was, with SonyEricsson/Samsung/$OEM having their own custom packages (which Sun/Oracle approved of.)

Yet that is the whole sales pitch of Android that it isn't as fragmented as J2ME was.

Also you missed the part of SavaJe OS being on the path for making SE available on mobile and Java 8 introduced Embedded Compact Profiles, whose APIs aren't fully available on Android to this day.

They lie to the public that they use OpenJDK, when the truth mirrored on Gerrit code reviews is that they cherry pick features, tracking down which Android version supports what from Standard Java is a painful detective work.

To add to it, the fellowship of Kotlin cleverly misuses their broken Android Java to sell Kotlin features, instead of comparing it with the real deal.

Re:“I am literally losing sleep” over Java (1996) by iso1631 on Thursday January 06, 2022 @01:45PM (#29827933)
Microsoft J++?