Conversation

Jarkko Sakkinen

Edited 9 days ago
My recommended list of crates for baremetal, firmware and no_std alike programming:

- https://github.com/rcore-os/buddy_system_allocator
- https://github.com/Lokathor/tinyvec
- https://github.com/google/zerocopy/
- https://github.com/rust-embedded/heapless
- https://github.com/KokaKiwi/rust-hex
- https://github.com/de-vri-es/serial2-rs
- https://github.com/m4b/goblin
- https://github.com/gimli-rs/gimli

This is a list of crates, which I've actually used and found them useful over time. I've not done kernel code (yet) in Rus. Instead I've worked on two bytecode (with JIT) hosts, i.e. Enarx (wasm) and now with PolkaVM (previously wasm but I'm working on riscv32emac derivative which is the next generation). And right, I'm implemented a crate for zmodem (see zmodem2) ;-)

The crate that I'm not yet sure because have not been able to do yet stuff that I'd want to do with it is:

https://github.com/rust-vmm/vm-memory

I.e. use it for special mapping but with no VMM involved (my uses cases actually involve both with and without VM containers). So looking into that over time. E.g. Paolo is involved with this so I expect it to be quality, and rather contribute than look for other option.

#rust #rustlang #baremetal
0
4
5