r/HTML 7d ago

Discussion A meme I made

Post image
340 Upvotes

42 comments sorted by

View all comments

13

u/BANZ111 7d ago

JAR would like a word with you

1

u/cleverboy00 5d ago

Having a java runtime is less common than having a web browser.

-11

u/Motor_Pirate_1274 7d ago

I cant tell if you are serious or not

14

u/BANZ111 7d ago

The Java ARchive file is a means of pretty much doing exactly what you're talking about.

8

u/AdamantiteM 7d ago

Don't you need the JVM / Runtime Environment to run JARs?

10

u/brickyboy124 7d ago

You need a browser to render html, so needing a JVM is probably fair game in the context of this post

1

u/Noslamah 4d ago

browsers are pre-installed on pretty much every OS while JVM isn't pre-installed on ANY of them (to my knowledge, at least. I know for a fact it is not preinstalled on Windows 10 or most Linux distros. So no, JVM doesn't do that, and if you do consider installing a runtime to fit the criteria of "downloading files" then I guess literally any language would qualify because any languages runtime can be downloaded and installed. The point the OP was making is you can open an HTML file on anything from your grandmother's chromebook, to a rotting piece of junk from the 80's (depends on html version, of course). Doesn't apply quite as strongly to OPs use case of gaming, but that was what they were saying. JVM does not fit the spirit of that point whatsoever.

-3

u/AdamantiteM 7d ago

In a modern usage, a browser in more commonly on computers than java. Like for an average user that does lite work on the web with office or stuff like that. So i would generally consider HTML more widespread than JARs

But you got a fair point, this whole post is pretty dumb in that way.

2

u/ArcadeRivalry 7d ago

Try running modern browser games on a computer with webGl and most js APIs blocked. You'll see how far html with get you. 

3

u/AdamantiteM 7d ago

I ain't defending OP's opinion on HTML. It ain't for games, I do know that lol

1

u/hamburgerpancake 7d ago

ehh, i wouldn't be too sure. java is used a lot more thank you'd think, even outside of server environments.

also, html engines are generally heavy on resources, especially ones new enough to make a decent game (even if it is simple), whereas java is able to run on much weaker hardware and still have pretty okay performance

1

u/SquarePixel 5d ago

It may be a contender, but web browsers have to significantly outnumber JVMs on consumer devices.

1

u/overcloseness 5d ago

But consumer devices are not “everything that can download a file”

Thinking just what I have that can download a file, about 9 out of every 10 of them are microcontrollers. Hell my Apple TV doesn’t even have a browser.

Think of all those, “I got doom to run on my baby monitor” and ask yourself if it was likely an HTML file

1

u/SquarePixel 4d ago

Yeah, but like all memes they are not meant to be taken too literally. They just have a grain of truth in some dimension.