GCC Rust: GCC Front-End for Rust
github.com
GCC Rust: GCC Front-End for Rust
1–10 of 179 posts
Re: GCC Rust: GCC Front-End for Rust
#2Re: GCC Rust: GCC Front-End for Rust
#3> The developers of the project are keen “Rustaceans” with a desire to give back to the Rust community and to learn what GCC is capable of when it comes to a modern language.
So what's the answer right now ? How does GCC measures "against" rust ?
Re: GCC Rust: GCC Front-End for Rust
#4Re: GCC Rust: GCC Front-End for Rust
#5Re: GCC Rust: GCC Front-End for Rust
#6I'm not sure if what I'm asking makes sense, but since it's written for a new backend, would the authors have to bootstrap it using a different toolchain? I guess what I'm asking is, could they use the LLVM Rust to build the GCC frontend or do they have to start all over with a different base language to get a first working version of a rust compiler?
Re: GCC Rust: GCC Front-End for Rust
#7I'm not sure if what I'm asking makes sense, but since it's written for a new backend, would the authors have to bootstrap it using a different toolchain? I guess what I'm asking is, could they use the LLVM Rust to build the GCC frontend or do they have to start all over with a different base language to get a first working version of a rust compiler?
Re: GCC Rust: GCC Front-End for Rust
#8I'm not sure if what I'm asking makes sense, but since it's written for a new backend, would the authors have to bootstrap it using a different toolchain? I guess what I'm asking is, could they use the LLVM Rust to build the GCC frontend or do they have to start all over with a different base language to get a first working version of a rust compiler?
As far as I can tell, this is written in C++ like the rest of GCC, so they don't need a rust compiler to bootstrap.
Re: GCC Rust: GCC Front-End for Rust
#9I'm not sure if what I'm asking makes sense, but since it's written for a new backend, would the authors have to bootstrap it using a different toolchain? I guess what I'm asking is, could they use the LLVM Rust to build the GCC frontend or do they have to start all over with a different base language to get a first working version of a rust compiler?
It's not written in rust; gcc is written in c. There is no bootstrapping involved.
Re: GCC Rust: GCC Front-End for Rust
#10This is very cool, maybe this could push the rust community to have a formal specification and a stable ABI in the future.
A stable ABI is unclear.