3 ms·
Not sure what you mean by "userland" drivers here, but support for kernel modules written in rust is actively being developed. It's already being used for kerne
by maccam94 3y ago
Not sure what you mean by "userland" drivers here, but support for kernel modules written in rust is actively being developed. It's already being used for kernel drivers like the Asahi Linux GPU driver for M1 Macs.
- PartiallyTyped 3y agoI am referring to userspace / userland drivers. https://www.kernel.org/doc/html/v4.18/driver-api/uio-howto.html#writing-a-driver-in-userspace https://www.kernel.org/doc/html/v4.18/driver-api/uio-howto.h...
- tremon 3y agoBut you can write userspace drivers in any language, as long as that language has basic file I/O and mmap() support. There's nothing special about using Rust for userspace drivers.
- TylerE 3y agoIsn't this false? Don't certain languages basically need, say, a libc that isn't nessesarily available in kernel space?