Re:Linux Rust Support
by kibwen on Tuesday July 06, 2021 @06:31PM
(#27755218)
Using Rust's stdlib isn't out of the question for the kernel, at least not the most fundamental bits of the stdlib. Rust offers a well-defined subset of its stdlib, called libcore, that is suitable for embedded work: no allocations, no OS-provided abstractions, etc. So you don't get HashMap or Vec, but you do get Option, Iterator, str (but not String, the heap equivalent), etc.
[ Parent
| on HN ]
There are no comments on this comment yet.