this post was submitted on 08 Jun 2025
806 points (97.1% liked)

Programmer Humor

24124 readers
2200 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
[–] lime@feddit.nu 19 points 4 days ago (2 children)

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

[–] ouRKaoS@lemmy.today 5 points 4 days ago (1 children)

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

10 PRINT "FARTS"    
20 GOTO 10
[–] ratel@mander.xyz 2 points 4 days 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?

[–] lime@feddit.nu 2 points 4 days ago (1 children)

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

[–] ratel@mander.xyz 1 points 4 days ago (1 children)

Ah ok I was referring to Rust specifically. Thanks!

[–] lime@feddit.nu 1 points 4 days ago

yeah but rednax wasn't.

[–] JackbyDev@programming.dev 1 points 4 days 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.