this post was submitted on 05 Apr 2024
114 points (73.4% liked)
Programmer Humor
19448 readers
501 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The problem with java is the language and how it works itself, and not the byte code idea.
I say that as a few things do that and .net, java and wasm are the first that jump to mind.
Hell, pure technically any programming language that is not asm does that :')
My problem is java itself, not its byte code. Wasm as advantage, imo, is that its not stuck to a single language like java is. .net blazor can build to wasm, but you could also use c++ to compile wasm applications :)
I'm not sure why the WASM creator(s) didn't take advantage of the existing java bytecode and JVM instead of reimplementing it. Might've sped up its adoption. Doesn't matter to me though, as long as JS stops being the #1 in web development.
This meme isn't to be taken seriously
Anti Commercial AI thingy
CC BY-NC-SA 4.0Why would they? WASM is Web-Assembly, so Assembly is a lower level language than Java.
You can use C# WASM through Blazor, and Java WASM though JWebAssembly. WASM as core is supposed to be language agnostic. So If you want a JVM in WASM you can build it on top of it
Java makes bytecode which is run in a JVM, WASM is bytecode which runs in a VM.
Anti Commercial AI thingy
CC BY-NC-SA 4.0Java makes things run in a VM
Docker makes things run in a VM
Virtualbox makes things run in a VM
Why did we need any of those things, should have just put everything in Java instead right 🙃
All software should be made to run in SCUMMVM.
Now that's meme-worthy!
Anti Commercial AI thingy
CC BY-NC-SA 4.0Java bytecode is designed specifically for class-oriented languages like Java and works terribly with anything else.