Rust to C compiler – 95.9% test pass rate, odd platforms
fractalfir.github.io
Rust to C compiler – 95.9% test pass rate, odd platforms
1–10 of 264 posts
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#2Very cool. C to Rust would be fantastic.
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#3But does it carry the Rusty guarantees?
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#4I'm not convinced that it’s worth spending any time supporting most proprietary systems. Maybe not even Windows, but especially the really expensive ones.
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#5I'm not convinced that it’s worth spending any time supporting most proprietary systems. Maybe not even Windows, but especially the really expensive ones.
You shouldn't spend your own effort; you should make it clear that you're open to users of such systems contributing.
That's how GCC became so dominant - there were people already using all sorts of Unixen and they wanted a compiler, so they made it work.
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#6Very cool. C to Rust would be fantastic.
What benefit would you envision from this?
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#7Lots of interesting use cases for this. First one that comes to mind is better interop with other languages, like Python.
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#8But does it carry the Rusty guarantees?
Why wouldn't it?
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#9Very cool. C to Rust would be fantastic.
> C to Rust would be fantastic.
This would have to go into one big unsafe block for any nontrivial program. C doesn’t convey all of the explicit things you need to know about the code to make it even compile in Rust.
Re: Rust to C compiler – 95.9% test pass rate, odd platforms
#10Very cool. C to Rust would be fantastic.