Of course, everyone votes up the headlines, but this link seems like premature WIP. Hopefully this will get posted for real after the presentation.
It is a very impressive piece of work.
31–40 of 264 posts
Of course, everyone votes up the headlines, but this link seems like premature WIP. Hopefully this will get posted for real after the presentation.
It is a very impressive piece of work.
Of course, everyone votes up the headlines, but this link seems like premature WIP. Hopefully this will get posted for real after the presentation.
Lots of interesting use cases for this. First one that comes to mind is better interop with other languages, like Python.
What is the point of compiling rust to C?
Of course, everyone votes up the headlines, but this link seems like premature WIP. Hopefully this will get posted for real after the presentation.
At first I read it as C to rust compiler. What is the point of compiling rust to C?
Just a guess.
At first I read it as C to rust compiler. What is the point of compiling rust to C?
To address platforms that don't support Rust. TFA mentions NonStop, whatever it is.
At first I read it as C to rust compiler. What is the point of compiling rust to C?
Very 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.
If that feels uncomfortable, consider that x64 machine code has no approximation to rust safety checks, and you trust rust binaries running on x64.
"Correct" is doing some heavy lifting here but generally people seem willing to believe that their toolchain is bug free.
Lots of interesting use cases for this. First one that comes to mind is better interop with other languages, like Python.
This hack is a Rust compiler back-end. Backends get platform-specific instructions as an input, so non-trivial generated C code won't be portable. Users will need to either get pre-generated platform-specific source, or install the Rust compiler and this back-end to generate one themselves.