this post was submitted on 05 Apr 2024
154 points (85.3% liked)

Programmer Humor

19480 readers
202 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

founded 1 year ago
MODERATORS
 

So much better now

all 21 comments
sorted by: hot top controversial new old
[–] [email protected] 41 points 7 months ago

JAVA: Just Another Version of Assembly

[–] [email protected] 20 points 7 months ago

WASM, also known as Javascript Java

[–] [email protected] 14 points 7 months ago (3 children)

Do we have 3 assemblies now?

[–] [email protected] 33 points 7 months ago* (last edited 7 months ago) (1 children)

Actual assembly in mainstream use:
x86
arm
risc v

mainstream byte code:
jvm
.net (I think)
wasm

fake assembly people may write:
llvm
wasm

wat (web assembly text) is actually written is S-expressions, like lisp but without code as data.

Edit: formatting

[–] [email protected] 15 points 7 months ago (1 children)
[–] [email protected] 9 points 7 months ago (1 children)

The runtime is even called "common language runtime" (clr), as it is intended to support many different languages, which the jvm never was.

[–] [email protected] 8 points 7 months ago

Languages like F# or (God forbid) VB.NET

[–] [email protected] 12 points 7 months ago

I'm making my own, because all mainstream options are bloated for my usecase...

[–] [email protected] 6 points 7 months ago (2 children)
[–] [email protected] 8 points 7 months ago (1 children)
[–] [email protected] 13 points 7 months ago (1 children)
[–] [email protected] 3 points 7 months ago

You forgot CC :)

[–] [email protected] 12 points 7 months ago* (last edited 7 months ago) (1 children)

I hate Java because whenever people make games or performance sensitive applications with it, performance is always complete ass shit. On top of that, it seems I always have to cave in and use Windows because when I'm trying to compile a Java project, there's some obscure dependency can only be acquired and installed correctly on windows.

Try compiling Freerouting in anything other than Windows for example. It's a good fucking thing Java apps are cross platform.

[–] [email protected] 0 points 7 months ago

It’s a good fucking thing Java apps are cross platform.

Or so goes the promise 😅

Does Freerouting use libs with JNI or something? How does it not compile on linux?

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] [email protected] 10 points 7 months ago (1 children)

Don't give Java the credit of inventing bytecode, it's a much cooler concept than that

[–] [email protected] 1 points 7 months ago

As with most things, it was invented in the 70s or 80s only to be reinvented again later.

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] [email protected] 10 points 7 months ago (1 children)

Remember kids, JSON was almost called JSML

[–] [email protected] -4 points 7 months ago

Wait, are you serious? 😅

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] [email protected] 9 points 7 months ago

Java applets from 20 years: what am I to you?

[–] [email protected] 3 points 7 months ago

Please AppleSoft BASIC was doing bytecode before Java was a gleam in a programmers eye.