ruduino
Reusable components for the Arduino Uno. (by avr-rust)
rustc_codegen_gcc
libgccjit AOT codegen for rustc (by antoyo)
ruduino | rustc_codegen_gcc | |
---|---|---|
4 | 33 | |
679 | 9 | |
0.0% | - | |
0.0 | 9.6 | |
over 1 year ago | 7 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ruduino
Posts with mentions or reviews of ruduino.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-05.
- Safety vs. Performance. A case study of C, C++ and Rust sort implementations
-
My CHIP-8 implementation for AVR microcontrollers now builds with unpatched Rust nightly
I've discovered that Ruduino has become quite usable in the meantime, so I was able to remove a lot of low-level port writes and unsafe code in favor of their nicely packaged Ruduino equivalents.
-
Five simple steps to use any Arduino C++ library in a Rust project 🦀
Rust language shares all advantages of efficient C++ code. With the rust community growing year after year, more and more people try using rust to program their Arduino boards. Consequently, the Arduino Rust ecosystem have significantly developed in the last couple of years. The Hardware Abstraction Layer for AVR microcontrollers avr-hal, Rudino library and ravedude CLI utility to make Rust development for AVR microcontrollers easier are just a few examples of the solid foundation developed so far.
-
Rust GCC back end was officially accepted into the compiler
It already works on Arduino. You can use https://github.com/avr-rust/avrd for register level access akin to AVR-GCC or https://github.com/avr-rust/ruduino a little bit higher level access. If you want high level "safe" interfaces you can use: https://github.com/Rahix/avr-hal
rustc_codegen_gcc
Posts with mentions or reviews of rustc_codegen_gcc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
- Rust Support in the Linux Kernel
-
GCC Rust Monthly Report #9 August 2021
It's true that if this project succeeds, that would be an outcome, but it's probably worth noting that you'd really only have to add support for the GCC backend to do that, and not reimplement the frontend as well (parsing, type checking, lifetime checking, etc.). There's an unrelated project working to do that: https://github.com/antoyo/rustc_codegen_gcc that would likely yield those same benefits for less effort.
-
Gentoo be like :
platform support (may improve soon)
-
Recursive fib is faster in C++?
Here's the gcc backend for rustc here https://github.com/antoyo/rustc_codegen_gcc Since this just swaps the optimizer/codegen module and reuses all the other stuff from rustc it needs less work and can already compile many valid rust programs.
-
Anyone used the gcc backend before?
I'd like to use the rustc_codegen_gcc backend to compile some Rust programs, but I'm confused about how to install and use the patched libgccjit dependency. I've downloaded the fork provided but don't know where to go from there.
-
The Tor Project announces Arti, a Tor implementation written in Rust from scratch
I was being a little sloppy and mixing together "actual embedded hardware" with "extensions for applications written in other languages" in my head. I think your point about LLVM is still accurate, though I hear peeps about different projects working on GCC support from time to time.
-
Rust GCC back end was officially accepted into the compiler
This doesn't have anything to do with using GCC to compile rust, but instead using rustc to compile Rust using the GCC backend. You can do that today by using the linked project, rustc_codegen_gcc, which is intended to be integrated into rustc at some point in the (hopefully near) future.
-
This is the patch series to add support for Rust as a second language to the Linux kernel.
Rather than mrustc you should probably look at rustc_codegen_gcc which uses gcc as a backend to rustc (WIP) or GCC Rust which tries to implement a rust frontend for gcc (also WIP). I think rustc_codegen_gcc looks the most promising at the moment
-
Hacker News top posts: Jul 6, 2021
Libgccjit AOT Codegen for Rustc\ (2 comments)
- Libgccjit AOT Codegen for Rustc
What are some alternatives?
When comparing ruduino and rustc_codegen_gcc you can also consider the following projects:
avr-hal - embedded-hal abstractions for AVR microcontrollers
gccrs - GCC Front-End for Rust
book - The Rust on ESP Book
polonius - Defines the Rust borrow checker.
sort-research-rs - Test and benchmark suite for sort implementations.
rust-arduino-helpers - experients in mixing Rust and C/C++ on the Arduino Uno
min-sized-rust - 🦀 How to minimize Rust binary size 📦
rust_arduino - How to use an Arduino library in a Rust project?
ttapi - Golang Turntable.fm api
Arduino-LiquidCrystal-I2C-library - Library for the LiquidCrystal LCD display connected to an Arduino board.
Rust-for-Linux - Adding support for the Rust language to the Linux kernel.
ruduino vs avr-hal
rustc_codegen_gcc vs gccrs
ruduino vs book
rustc_codegen_gcc vs polonius
ruduino vs sort-research-rs
rustc_codegen_gcc vs avr-hal
ruduino vs rust-arduino-helpers
rustc_codegen_gcc vs min-sized-rust
ruduino vs rust_arduino
rustc_codegen_gcc vs ttapi
ruduino vs Arduino-LiquidCrystal-I2C-library
rustc_codegen_gcc vs Rust-for-Linux