3 ms·
LLVM IR isn't portable, it's platform-specific.
by sp332 12y ago
LLVM IR isn't portable, it's platform-specific.
- Someone 12y agoFor those who don't know why that is true (or even that that is true): http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043719.html http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/0437...
- falcolas 12y agoAnd yet Mozilla can use it to write Rust compilers which target ARM and x86-64 architectures, for Mac, Linux and Windows OSes. It might not compile on an AT-MEGA, but it seems portable enough for the purposes of acting as a browser bytecode representation.
- sp332 12y agoThey distribute Rust as Rust code, not as LLVM IR. You use LLVM to compile Rust to a target-specific IR and then to a target-specific binary. Try reading that link your sibling posted.