@0x0@lemmy.zip to Programmer Humor@programming.dev • 26 days agorace conditionslemmy.zipimagemessage-square87fedilinkarrow-up1882arrow-down125
arrow-up1857arrow-down1imagerace conditionslemmy.zip@0x0@lemmy.zip to Programmer Humor@programming.dev • 26 days agomessage-square87fedilink
minus-square@ratel@mander.xyzlinkfedilink2•25 days agoI thought it compiles to LLVM intermediate representation and then to the machine code of the requested platform arch. Am I missing something?
minus-squarelime!linkfedilinkEnglish2•25 days agoonly if you design it using llvm. llvm is pretty new.
minus-square@ratel@mander.xyzlinkfedilink1•25 days agoAh ok I was referring to Rust specifically. Thanks!
minus-squareJackbyDevlinkfedilinkEnglish1•25 days agoFortran 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.
I thought it compiles to LLVM intermediate representation and then to the machine code of the requested platform arch. Am I missing something?
only if you design it using llvm. llvm is pretty new.
Ah ok I was referring to Rust specifically. Thanks!
yeah but rednax wasn’t.
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.