this post was submitted on 05 Apr 2024
152 points (85.2% liked)

Programmer Humor

19589 readers
693 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
[–] magic_lobster_party@kbin.run 40 points 7 months ago

JAVA: Just Another Version of Assembly

[–] Feathercrown@lemmy.world 19 points 7 months ago

WASM, also known as Javascript Java

[–] UnRelatedBurner@sh.itjust.works 13 points 7 months ago (3 children)

Do we have 3 assemblies now?

[–] anton@lemmy.blahaj.zone 32 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

[–] starman@programming.dev 14 points 7 months ago (1 children)
[–] secana@programming.dev 8 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.

[–] starman@programming.dev 8 points 7 months ago

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

[–] ZILtoid1991@lemmy.world 11 points 7 months ago

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

[–] onlinepersona@programming.dev 5 points 7 months ago (2 children)
[–] UnRelatedBurner@sh.itjust.works 7 points 7 months ago (1 children)
[–] YerbaYerba@lemm.ee 12 points 7 months ago (1 children)
[–] starman@programming.dev 3 points 7 months ago

You forgot CC :)

[–] MyNamesNotRobert@lemmynsfw.com 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.

[–] onlinepersona@programming.dev 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

[–] roon@lemmy.ml 10 points 7 months ago (1 children)

Remember kids, JSON was almost called JSML

[–] onlinepersona@programming.dev -4 points 7 months ago

Wait, are you serious? 😅

Anti Commercial AI thingyCC BY-NC-SA 4.0

[–] zagaberoo@beehaw.org 10 points 7 months ago (1 children)

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

[–] onlinepersona@programming.dev 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

[–] devfuuu@lemmy.world 8 points 7 months ago

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

[–] lemmyviking@lemmy.world 3 points 7 months ago

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