4 ms·
Your question makes me wonder what niche Rust is trying to fill. Anything that can't bootstrap literally everything then will never replace C.
by guerrilla 6y ago
Your question makes me wonder what niche Rust is trying to fill. Anything that can't bootstrap literally everything then will never replace C.
- h2odragon 6y agoI 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.
- guerrilla 6y agoWhat's the "Correct Thinking"?
- ithkuil 6y agoWonder 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
- steveklabnik 6y agollvm 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.
- ithkuil 6y agoTIL https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc
- steveklabnik 6y agoYeah, this is a great project, but different than what I was talking about :)
- ithkuil 6y agoIndeed; I meant it as a continuation to my: > Wonder if rust (or llvm) ...
- qbasic_forever 6y agoThe niche of software that doesn't take over your computer with malware because you made an off by one error.
- nicoburns 6y agoI 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.