Mozilla's Rust Language Gets A GCC Compiler Front-End

Written by Michael Larabel in Mozilla on 3 December 2013 at 12:46 PM EST. 9 Comments
MOZILLA
A Rust language front-end is under development for the GNU Compiler Collection. Rust is Mozilla's programming language under development that's similar to C/++ and aims to be a safe, concurrent practical language.

Up to now all of the work around the Rust compiler has been implemented atop LLVM, but now GCC developer Philip Herron has decided to work on a Rust compiler front-end for the Free Software Foundation's compiler.

Herron has been working on the "gccrs" branch for a while already and he's been coding this language front-end to better learn the Rust language. The front-end though has been making quick progress, he noted, "Currently it compiles alot of rust already in fairly little effort on my side GCC is doing loads of the heavy lifting. Currently it compiles most of the basic stuff such as a struct an impl block while loop, functions expressions calling methods passing arguments etc. Currently focusing on getting the typing working correctly to support & and ~ and look at how templates might work as well as need to implement break and return."

For more details on this gccrs Rust compiler, check out the announcement made today on the GCC mailing list. Another interesting milestone for the Rust language recently was the ability to make Rust UEFI-bootable applications. For more details on the language itself and/or the upstream Rust LLVM compiler, visit Rust-Lang.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week