Hacker News new | ask | show | jobs
by bee_rider 315 days ago
How much work does clang have to do for this sort of thing (as opposed to llvm). Hypothetically could we start distributing programs in llvm ir, and compile that locally to ARM, x86, risc-v, or whatever else?

I mean, no, that’s silly, right? But it would be kind of neat…

1 comments

llvm-ir is not architecture independent, even excluding issues like the C pre-processor.