3 ms·
I think adding new targets to LLVM is an infititely easier task than writing safe C code (as long as the LLVM team is open to it)
by xiphias2 6y ago
I think adding new targets to LLVM is an infititely easier task than writing safe C code (as long as the LLVM team is open to it)
- Blikkentrekker 6y agoRustc's lack of architecture support is purely an LLVM issue/ A far as I know, the latter supports many architectures the former does not.
- steveklabnik 6y agoIt is true that Rust supports a subset of the architectures LLVM supports, but to be honest, I am not sure if "many" is the right adjective. I mean that in a literal sense, I don't have a good handle on the list. For Rust, the list is https://doc.rust-lang.org/nightly/rustc/platform-support.html https://doc.rust-lang.org/nightly/rustc/platform-support.htm..., but I'm not sure if there's such a list for LLVM, other than looking at something like https://llvm.org/doxygen/Triple_8h_source.html https://llvm.org/doxygen/Triple_8h_source.html and figuring it out?
- junon 6y agoThis is false equivalency.
- justaguy88 6y agoThe other avenue is adding a Rust frontend to GCC