this post was submitted on 08 Jun 2025
851 points (97.2% liked)

Programmer Humor

24241 readers
1951 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 19 points 1 week ago (2 children)

only true if your language compiles to c. fortran peeps are safe.

[–] [email protected] 5 points 1 week ago (1 children)

I'm an 80's/90's BASIC bitch, so I'm still irrelevant!

[–] [email protected] 4 points 1 week ago
10 PRINT "FARTS"    
20 GOTO 10
[–] [email protected] 2 points 1 week ago (2 children)

I thought it compiles to LLVM intermediate representation and then to the machine code of the requested platform arch. Am I missing something?

[–] [email protected] 2 points 1 week ago (1 children)

only if you design it using llvm. llvm is pretty new.

[–] [email protected] 1 points 1 week ago (1 children)

Ah ok I was referring to Rust specifically. Thanks!

[–] [email protected] 1 points 1 week ago

yeah but rednax wasn't.

[–] [email protected] 1 points 1 week ago

Fortran is from 1957, LLVM is from 2003. It's probably like C where there is a compiler tool chain that goes through LLVM like you describe and others that go directly to executables.