TGViewer
Linux - Reddit Linux - Reddit @r_linux · 1.07K subscribers
Post #43192 19
BusyBox-RS: Rewriting the Swiss Army Knife of Embedded Linux in memory-safe Rust

Hey everyone,

BusyBox is practically everywhere in embedded Linux, initramfs, and rescue disks. But being a massive collection of C utilities, it carries the usual C risks (buffer handling, integer overflows, memory management bugs).

Over the last two weeks, I've been hacking on BusyBox-RS, an MIT-licensed rewrite in Rust designed specifically for embedded use cases:

Minimal binary footprint: Built with `opt-level = "z"`, fat LTO, symbol stripping, and `panic = abort`.
Compile-time feature selection: Use Cargo features or make tinyconfig / defconfig to only compile the applets your board actually needs.
Upstream verified: Tested directly against the upstream BusyBox regression test suite (100% pass rate across 46 applets so far, including `cp`, `grep`, `sort`, `printf`, `cmp`, `readlink`, and checksums).
Nix flake ready: Reproducible development environment via nix develop.

GitHub: https://github.com/rebizzz/busybox-rs

Feel free to check it out, run make check, and share feedback!

https://redd.it/1x0pkdl
@r_linux
GitHub GitHub - rebizzz/busybox-rs: The Swiss Army Knife of Embedded Linux — in Safe, Modular Rust The Swiss Army Knife of Embedded Linux — in Safe, Modular Rust - rebizzz/busybox-rs
More from @r_linux
  1. Oct 8, 2026Claude Opus reverse engineered my brand new Maono DGM20 microphone... in 15 minutes. /r/Cl…
  2. Oct 8, 2026SpaceScan: configurable visualizations of file storage, how much, how many, and what type…
  3. Oct 8, 2026Elan 04f3:0c6e Fingerprint Reader fix for Asus (and other) laptops Hey all, recently I got…
  4. Oct 8, 2026word-sys's PDF Editor v1.11.2 Officially Released on Flathub https://redd.it/1x0l2dq @r_li…
  5. Oct 8, 2026Article: Will Linux phones become a viable alternative to the Android/iOS duopoly? /r/Puri…
  6. Oct 8, 2026I counted who wrote every change to xz, sudo, bash, tz and 19 other projects over the last…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →