rustc_codegen_gcc
Rustlings
Our great sponsors
rustc_codegen_gcc | Rustlings | |
---|---|---|
49 | 289 | |
858 | 48,345 | |
3.5% | 4.0% | |
9.6 | 9.3 | |
7 days ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rustc_codegen_gcc
-
How hard would it be to port the Rust toolchain to a new non-POSIX OS written in Rust and get it to host its own development? What would that process entail?
Alternatively, there's another initiative called codegen_gcc which is about using GCC as a backend for the rustc compiler. It's (much) more advanced in Rust support, but I am not sure how easy it would be to use a modified libgccjit from there.
-
Rust contributions for Linux 6.4 are finally merged upstream!
Theres also an official GCC backend for rustc in the works, rustc_codegen_gcc
Yeah, rustc_codegen_gcc is a GCC backend for rustc, and its making a lot of good regular progress.
-
GCC 13 and the State of Gccrs
gcc-rs is one of two projects for bringing Rust to gcc. gcc-rs is the more ambitious of the two, with an entirely new frontend. There is also rustc_codegen_gcc (https://github.com/rust-lang/rustc_codegen_gcc) that keeps the rustc frontend, and only swaps out LLVM for GCC at the codegen stage.
-
Any alternate Rust compilers?
Additionally, there is gcc codegen for rustc (https://github.com/rust-lang/rustc_codegen_gcc), which is not a compiler per se, but an alternative code generator, with more architectures supported and other nice things. It's also coming along, but there's still a lot of work to do there too. There's also Cranelift codegen (https://github.com/bjorn3/rustc_codegen_cranelift), which is designed to make debug builds faster, but this is not as exciting/useful as the other 2.
-
rustc_codegen_gcc: Progress Report #21
Good idea. I added the tag "help wanted" to the issue.
-
A brave new world: building glibc with LLVM
I'm excited about both the backend & the frontend.
-
Rust front-end merged in GCC trunk
There is also a project for rustc to use GCC instead of LLVM for codegen.
-
Rust front-end approved for merge into GCC
All problems which the already existing rustc_codegen_gcc project does not have. As a supported code generation backend to the actual Rust compiler, it provides all the supposed benefits of GCC's Rust improved target support and literally none of the many downsides.
Not to be confused with rustc_codegen_gcc, which allows Rustc to use GCC as an alternative backend. gccrs is an alternative implementation of rustc (and Cargo) in C++ for GCC.
Rustlings
-
GPUI 2 is now in production – Zed
Zed is great, have been using it to do the Rustlings exercises and learn Rust:
https://github.com/rust-lang/rustlings
If you've been looking for an excuse to learn Rust, check it out.
- I'm looking for practical Rust exercises
-
Learning Zig
Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
-
Bevy XPBD: A physics engine for the Bevy game engine
Rustlings gives a great introduction to the language:
https://github.com/rust-lang/rustlings
Disclaimer: I write JavaScript
- Learning Rust Recommendations?
-
Hi I’m a total newbie to programming but wants to learn rust as a first language.
Consider solving puzzles and exercises from rustlings and / or try the Rust track at exercism which I found very valuable.
-
Reached a new benchmark today, completed 1000 problems
Rustlings(for learning by doing): https://github.com/rust-lang/rustlings
Yea sure, The Rust Book: https://doc.rust-lang.org/book/ Interactive version of the book: https://rust-book.cs.brown.edu/ Rustlings(for learning by doing): https://github.com/rust-lang/rustlings YT course: https://www.youtube.com/playlist?list=PLai5B987bZ9CoVR-QEIN9foz4QCJ0H2Y8 And a migration from TS course: https://frontendmasters.com/courses/rust-ts-devs/
-
Managed to land a junior role need help!
Also maybe try rustling for exercises. These are practical, and give you examples to read through. Quite nice IMO.
-
Best path to learn rust
Clone the Rustlings repository locally and try solving as much as you can.
What are some alternatives?
rust-koans - Koans for the Rust programming language
rust-by-example - Learn Rust with examples (Live code editor included)
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
book - The Rust Programming Language
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.
rust.vim - Vim configuration for Rust.
ziglings - Learn the Zig programming language by fixing tiny broken programs.
gccrs - GCC Front-End for Rust
Rust-Full-Stack - Rust projects here are easy to use. There are blog posts for them also.
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
too-many-lists - Learn Rust by writing Entirely Too Many linked lists