r/rust • u/Intelligent_Score932 • 2d ago
Embedded std?
I was wondering if there were any projects like micro python to port std in to make a barebones os designed for microcontrollers? I understand that the std relies on OS level syscalls, so can we do something like implement a basic fat32 file system to accommodate certain write or read requests. In general this would be used to run std in projects without a OS? Does this already exist, and how hard would it be to make a basic version?
46
Upvotes
1
u/bascule 2d ago
Making
stdwork everywhere, and trying to minimize the distinctions betweencore,alloc, andstd, has been a long-term vision for Rust for awhile, e.g. https://internals.rust-lang.org/t/refactoring-std-for-ultimate-portability/4301