Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your question makes me wonder what niche Rust is trying to fill. Anything that can't bootstrap literally everything then will never replace C.


I think the primary goal is Mac/Windows/Linux/BSD/iOS/Android on x86/ARM (32bit and 64bit) variants. That covers 99% of consumer and server computing. And aside from anything else: making that secure would be a huge win.

But it's not like Rust doesn't have wide platform support. For example, it's already possible to run Rust on Risc-V. And it's is improving all the time.


The niche of software that doesn't take over your computer with malware because you made an off by one error.


Wonder if rust (or llvm) could just have a C backend as a fallback for unsupported architectures. Perhaps some stuff would be slow but likely faster than flat out emulation


llvm had a C backend at one point, but my understanding is that it bitrotted and was removed. I think there's been some work to bring it back? Not 100% sure.



Yeah, this is a great project, but different than what I was talking about :)


Indeed; I meant it as a continuation to my:

> Wonder if rust (or llvm) ...


I take no position on Rust other than interested observer; thus the question. There's several factions there, i think the "lets make a better language and spread it everywhere so it gets used" faction ares going to be opposed by the "opinionated zealots of Correct Thinking" and i wonder which gets steamrolled.


What's the "Correct Thinking"?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: