News for hackers. Stuff that matters.
Re:Linus Torvalds on where Rust will fit into Linux by xiphias2 on Tuesday March 23, 2021 @02:11PM (#26558203)
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)
Re:Linus Torvalds on where Rust will fit into Linux by justaguy88 on Tuesday March 23, 2021 @03:23PM (#26559202)
The other avenue is adding a Rust frontend to GCC
Re:Linus Torvalds on where Rust will fit into Linux by junon on Tuesday March 23, 2021 @03:13PM (#26559079)
This is false equivalency.
Re:Linus Torvalds on where Rust will fit into Linux by Blikkentrekker on Tuesday March 23, 2021 @02:38PM (#26558551)
Rustc's lack of architecture support is purely an LLVM issue/

A far as I know, the latter supports many architectures the former does not.

Re:Linus Torvalds on where Rust will fit into Linux by steveklabnik on Tuesday March 23, 2021 @03:27PM (#26559257)
It 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.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 and figuring it out?