4 ms·
The Rust language provides the tools required for people to write a system call interface (which can be in the standard distribution or outside it, both have th
by dbaupp 12y ago
The Rust language provides the tools required for people to write a system call interface (which can be in the standard distribution or outside it, both have the same power), I don't think building such a thing into the language (rather than in a library) is at all sensible.
As others have pointed out people have written linux kernel modules, kernels and all sorts of other low-level things in Rust.
(Rust's inline assembly interface is essentially "write in ASM"... If you're truly needing to go that far down yourself, then knowing assembly seems very reasonable. However, this shouldn't be needed much, just use libraries that do it internally.)