On 9/8/19 8:28 PM, Darshit Shah wrote:
> After the talk about Rust during GHM 2019, we had a lively discussion about
> having a GCC frontend for Rust. The idea being that if GCC can correctly
> compile rust code, it goes a long way towards proving the correctness of many
> of rustc's decisions.
> 
> Also, we would be able to port Rust code to many many more architectures that
> LLVM just does not / can not support (example provided was the m68k).
> 
> There's two things I knew about this in the past:
> 1. mrustc: A rust to C compiler. https://github.com/thepowersgang/mrustc
> The author calls it a compiler, but my understanding is that this is just a
> transpiler.
> 2. gccrs: The gccrs branch in GCC attempts to implement a rust frontend for
> GCC. However, from the looks of things this attempt is extremely outdated and
> targets a very early version of Rust.
> 
> I did however come across something new today: 
> gghttps://users.rust-lang.org/t/call-for-help-implementing-an-independent-rust-frontend-for-gcc/32163/16
> 
> They're trying to discuss this again. I would love to see this come to
> fruition. Just figured I'd put this out here for the others to see.

A gcc rust frontend is basically what I am waiting for to do *serious*
work in rust.

Thanks to Ian who brought that up at GHM. And thanks to you sum it up here.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to