ghm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ghm-discuss] GCC frontend for Rust


From: Tim Rühsen
Subject: Re: [Ghm-discuss] GCC frontend for Rust
Date: Mon, 9 Sep 2019 10:18:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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

[Prev in Thread] Current Thread [Next in Thread]