logoalt Hacker News

torginus • today at 3:25 PM • 2 replies • view on HN

yeah this makes no sense to me. Why would Rust limit the LLVM backend's ability to generate code for a particular platform?


Replies

panzi • today at 3:31 PM

I think the claim is that GCC supports a few obscure platforms that LLVM doesn't. Don't ask me which, that is just the claim that I heard multiple times. So it's not Rust that limits platforms, but LLVM. And they say the GCC backend efforts of Rust are meant to deal with that.

➕ show 1 reply
steveklabnik • today at 4:22 PM

1. You've got the causality backwards. LLVM backends don't come for free, you have to write code to enable support for them.

2. LLVM does not support as many backends as GCC does, so even if you did get 100% of the LLVM supported backends up and running, you'd still be missing some.

➕ show 1 reply