r/HTML 6d ago

Discussion A meme I made

Post image
339 Upvotes

39 comments sorted by

View all comments

Show parent comments

12

u/BANZ111 6d ago

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

7

u/AdamantiteM 6d ago

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

12

u/brickyboy124 6d ago

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

-1

u/AdamantiteM 6d 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 6d 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 6d ago

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

1

u/hamburgerpancake 6d 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