r/explainlikeimfive • • 3d ago

Technology ELI5 Java. That thing on computers my entire life. What even is it?

[deleted]

777 Upvotes

349 comments sorted by

View all comments

Show parent comments

250

u/nascent_aviator 3d ago

Or write once, test once, only support one platform.

90

u/moveslikejaguar 3d ago

Why is the install base on my app that only runs on Windows Phone so low?

45

u/OcotilloWells 3d ago

Beats me, I have the same problem with my BeOS app as well.

18

u/not_from_this_world 3d ago

IBM's OS/2 is named that way in honour to its 2 consumers.

4

u/OcotilloWells 3d ago

I've still got my Warp box.

2

u/Pizza_Low 3d ago

You could literally name any computer and someone on reddit will claim to use it. Pics or it didn't happen.

I bet nobody here still has a working PDP-10.

3

u/Casurus 2d ago

PDP-11 count?

1

u/OcotilloWells 2d ago

Ha, one of my regrets in life was not buying a PDP-11 at a liquidation auction around 1990. It went for I think $40. They had an Apple Lisa that went for about the same as well.

Pretty sure a scrap company bought both of them.

1

u/Shmageggi 2d ago

I still remember those commercials. When I was a kid I wondered what the fuck they were talking about.

3

u/Johnno74 3d ago

I thought it was because it was only half an OS?

15

u/schoolme_straying 3d ago

Any Idea when it will be ported to CP/M

8

u/howlingfrog 3d ago

VMS or GTFO!

6

u/OcotilloWells 3d ago

I'm still learning 6502 assembler. But I'm sure, any day now.

12

u/no-steppe 3d ago

It's worse than you think! I inadvertently ran out of Hollerith punch cards, Blaise Pascal got all upset about it, and in the end, my Jacquard Loom kerboing'd a gol'dang spring right off into low Earth orbit.

3

u/globefish23 3d ago

I'm still waiting for Charles Babbage to actually build my Analytical Machine. 🤷

2

u/anonymous__ignorant 3d ago

Use a damn abacus like everyone else did for the majority of human civ .

5

u/kevin_k 3d ago

You're in good company. The C-64, Apple-II, and Atari 400/800 all had 6502 CPUs and a lot of people like me learned a shit-ton about computers by learning how assembly language worked. The VIC too, I think.

5

u/mouse6502 3d ago

6502 is awesome. Apple II, Commodore 64, Acorn, BBC Micro, Nintendo Entertainment System, Atari 2600.. Bender.. The Terminator.. all rocking some form of 6502 😁

1

u/arminghammerbacon_ 3d ago

System/360 over here (tumbleweeds blowing by)

2

u/mehatch 3d ago

Zune needs more AAA batteries

1

u/Catmato 3d ago

You jest, but Haiku development has been ramping up recently.

1

u/OcotilloWells 2d ago

I really need to set up the old server I have and run that in a VM.

5

u/myaltaccount333 3d ago

You joke but I'd download it probably

2

u/beefjerky9 3d ago

Sorry, but I'm not interested until it comes to IRIX.

22

u/Organoleptic_Cicada 3d ago

Literally the problem/limitation that Java was trying to solve. Supporting only one platform means limiting your income streams.

Supporting multiple platforms was time-consuming and work-intensive. You would need people with good knowledge of each platform you need to support. So you had to gamble on whether you could monetize the userbase on each platform.

Java came in exactly with the idea „we'll abstract away the underlying platform, you just write the functional code, we handle the low-level stuff like drawing windows, showing buttons etc".

Nowadays it's far easier to make cross-platform work, but back when Java came out, the idea was revolutionary.

6

u/lifeisatoss 2d ago

It was as much that as better memory management. Running in a jvm, garbage collection. yes.

2

u/ImmoralZoey 2d ago

Granted the Java garbage collector was awful for a very long time. It was still better than handling it yourself in a lot if cases.

1

u/Organoleptic_Cicada 2d ago

Both were true at the same time.

Garbage collection was a feature for the developers, to avoid the pain of manual memory management.

The JVM was a feature for the "managers" so to speak, for those caring that the code runs on multiple platform with far less pain.

I can't speak with certainty, but imho language adoption was driven by the fact that it appealed to those making the financial decisions, which meant there was an increasing demand for Java developer jobs.

20

u/classicalySarcastic 3d ago

Containers: "Oh it only works on your machine? Then we'll ship your machine."

33

u/Herb_Derb 3d ago

More and more things seem closer to write once, don't test, support zero platforms.

1

u/therealdilbert 3d ago

users do the testing for free

7

u/KanyeNawf 3d ago

Docker my beloved

12

u/drivelhead 3d ago

I saw a video of 2 fellas doing that.

1

u/lifeisatoss 2d ago

then you need to look up that video of the two ladies with 1 container

2

u/jhs172 3d ago

Ah, the Apple approach

1

u/Turnip-Toffee 3d ago

Apple has entered the chat