embassy
rust-mos
embassy | rust-mos | |
---|---|---|
80 | 10 | |
6,113 | 58 | |
7.6% | - | |
9.9 | 0.0 | |
2 days ago | 11 months ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
embassy
- Embassy: Replacing RTOS with a Rust async scheduler
-
Apple is Killing Swift – A great language strangled by governance
The other comment implied it but I think it's worth pointing out that:
> embedded applications that can't have asynchronous execution
Is most definitely not the case.
They can't have the same type of async runtime that would be optimal for a web server or the likes (and I'm not sure all desktop applications and web servers are going to always benefit from the same runtime in the same way), but that's a point in favour of Rust's model imho
If you're interested this is an embedded async runtime that's expected to run in no-std and no-alloc environments
https://embassy.dev/
-
Impl Snake For Micro:bit - Embedded async Rust on BBC Micro:bit with Embassy
In this article, I will guide you through creating a Snake game in embedded Rust on the BBC Micro:bit using the asynchronous framework Embassy.
-
A review after using Rust on embedded in production for over a year
Rust solved this by autogenning code from mfgr published device xml descriptors. Eg https://embassy.dev/
Better than any C(++) embedded hal I've used
- Building a GATT Server on Pi Pico W
- Embassy-rs/embassy: Modern embedded framework, using Rust and async
- Embedded Swift [video]
-
I like the RP2040
If I get your question right, you still need some host software (like a rust compiler)! It's not exactly micropython experience.
The bare minimum would be one of the examples [1] compiled with a Rust compiler and then transformed into a .uf2 file with elf2uf2 [2]. You can then just drag and drop the .uf2 file into the "mass storage device" presented by the bootloader. To get the bootloader to mount, you press a button on a Raspberry Pico (or short two outputs if you're using bare RP2040) while plugging it in.
You'll probably want a debug probe [3] driven by probe-rs [4] at some point, it's just much more convenient to flash and debug with it.
[1]: https://github.com/embassy-rs/embassy/tree/main/examples/rp/...
[2]: https://github.com/JoNil/elf2uf2-rs
[3]: https://www.raspberrypi.com/documentation/microcontrollers/d...
[4]: https://probe.rs/
- Embassy 在 Blue Pill 上的点灯案例
-
Why choose async/await over threads?
thanks. looked that up. for the curious: https://embassy.dev/
rust-mos
-
Roguecraft Devs on Developing for Amiga in 2024
For Commodore the computer, there is a Rust and LLVM fork for MOS:
- https://github.com/mrk-its/rust-mos
It's able to generate binaries that are executed on C64. Tried it on the
-
Ruby on the Apple II: Adventures in Retro Programming [video]
rust the compiler, hell no.
But there is an llvm-mos project to generate 6502 code and that can be used to cross compile rust code.
https://llvm-mos.org/wiki/Welcome
https://llvm-mos.org/wiki/Rust
https://github.com/mrk-its/rust-mos
- I learned to program the Commodore 64 in basic and compiled C
-
-🎄- 2022 Day 12 Solutions -🎄-
It was possible thanks to great https://llvm-mos.org/wiki/Welcome project (it adds 6502 target to LLVM). Adding 6502 support to rust was easy part :] https://github.com/mrk-its/rust-mos
-
LLVM-MOS 6502 Back end [pdf]
This is a super fun project to play around with. I'm currently trying to build a C64 sprite multiplexer in mostly straight C++ using LLVM-MOS and while it's definitely not going to be the most optimized multiplexer out there, I'm finding it most adequate performance-wise.
Whereas it's probably a long way away from being able to use this for democoding due to the mostly cycle-accurate nature of the effects, for creating homebrew games and utilities this is really quite suitable: write high-level logic and sprinkle in some inline assembly here and there for the really performance critical parts.
The code that is being generated is already quite good and (on first glance) looks better than what's coming out of cc65, for instance.
There's also rust-mos which uses LLVM-MOS to compile Rust code. It unfortunately still has some issues (e.g. [1]) but that is looking really promising as well.
Kudos to all involved :)
[1] https://github.com/mrk-its/rust-mos/issues/16
-
The Rise of Rust, the ‘Viral’ Secure Programming Language That’s Taking Over Tech
The MEGA 65 doesn't appear to have shipped yet. The best data I could find is the MEGA 65 is based on a "GS4510". The "GS4510" is compatible with a "4502", which in turn is compatible with the 65CE02. The 65CE02 uses a different manufacturing process but the same ISA as the 6502, which is supported by rust-mos and lvm-mos](https://github.com/llvm-mos/llvm-mos).
-
Can you write for the Commodore 64 in Rust? Why yes, yes you can!
Using llvm-mos, rust-mos, a lot of time compiling compilers and support from Mariusz (the rust-mos author), I was finally able to program like it was 1982...
-
Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM, 38400 baud internet
This fork is handy for that. It’s fun to play with, but you need to do a decent amount yourself to get it set up.
https://github.com/mrk-its/rust-mos
-
Can Rust do every low level stuff C/C++ do?
Thanks to llvm-mos project there is also working rust fork for MOS-6502: https://github.com/mrk-its/rust-mos/tree/mos_target, so you can target 8-bit atari and c64
- Rust on the MOS 6502: Beyond Fibonacci
What are some alternatives?
rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
llvm-mos - Port of LLVM to the MOS 6502 and related processors
tock - A secure embedded operating system for microcontrollers
aoc2022 - Advent of Code 2022
nrf-hal - A Rust HAL for the nRF family of devices
sim6502 - Simulator of 6502 with remote lldb support
smoltcp - a smol tcp/ip stack
CC65-Advanced-Optimizations - How to optimize C code for CC65 compiler
crates.io - The Rust package registry
rusty-clock - An alarm clock with environment stats in pure bare metal embedded rust
aoc2022 - My solutions for Advent of Code 2022