0x0@lemmy.zip to Programmer Humor@programming.dev · 22 天前race conditionslemmy.zipimagemessage-square87linkfedilinkarrow-up1880arrow-down125
arrow-up1855arrow-down1imagerace conditionslemmy.zip0x0@lemmy.zip to Programmer Humor@programming.dev · 22 天前message-square87linkfedilink
minus-squareratel@mander.xyzlinkfedilinkarrow-up2·22 天前I thought it compiles to LLVM intermediate representation and then to the machine code of the requested platform arch. Am I missing something?
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up2·22 天前only if you design it using llvm. llvm is pretty new.
minus-squareratel@mander.xyzlinkfedilinkarrow-up1·22 天前Ah ok I was referring to Rust specifically. Thanks!
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·22 天前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.
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.