4 ms·
with respect to linux kernel rust projects: is there anything new that is complete and ready to use or anything that existed in c that has been rewritten that i
by a-dub 2y ago
with respect to linux kernel rust projects: is there anything new that is complete and ready to use or anything that existed in c that has been rewritten that is stable and has reached feature parity with the existing implementations yet?
- dmm 2y agoThe gpu driver for apple m1 silicon is written is Rust.
- Narishma 2y agoI think the new Nvidia driver is also being written in Rust, though it's not ready yet.
- Rochus 2y agoDidn't they announce hat they use Ada and SPARK for such things some years ago?
- mixedCase 2y agoI believe this poster meant the new Linux driver for Nvidia cards called Nova (announcement: https://lore.kernel.org/dri-devel/Zfsj0_tb-0-tNrJy@cassiopeiae/ https://lore.kernel.org/dri-devel/Zfsj0_tb-0-tNrJy@cassiopei...), not the driver maintained by Nvidia.
- a-dub 2y agothis is also very cool! some pretty nice blog posts from the asahi folks about this and the code looks nice...
- MBCook 2y agoAnd have never had a single crash from their code. And wrote a fully compliant Open GL stack for it in rust. Shipped by Fedora. Used on all Apple Silicon Macs running Linux. The value exists and has been proven. The community can say no to it, but dismissing the work of Lina and the Asahi team members who have worked on Rust stuff as a “toy project” is just being rude.
- gpm 2y agoThe android binder driver is feature complete [1] and is apparently going to ship in android soon (I assume Kees is a reasonably reliable source for this as a google employee... certainly work has been ongoing related to upstreaming this) [2] [1] https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-0-08ba9197f637@google.com/ https://lore.kernel.org/rust-for-linux/20231101-rust-binder-... [2] https://lwn.net/Articles/987949/ https://lwn.net/Articles/987949/
- a-dub 2y agothis is pretty cool, the binder always struck me as a potential security risk! also pretty fun to think that beos will continue to secretly live on deep in the guts of linux powering android, even in rust!
- gpm 2y agoI think this is intended as more of a proof of concept than as a useful-to-end-users change, but apparently this driver is going to be enabled on Fedora rawhide soon. https://github.com/torvalds/linux/blob/master/drivers/net/phy/ax88796b_rust.rs https://github.com/torvalds/linux/blob/master/drivers/net/ph... MR where they are working though a build system issue: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3295 https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3...
- gpm 2y agoFedora is also apparently considering enabling rust to render QR-codes on kernel panics (and has upstreamed code to do the rendering already).
- pjmlp 2y agoNot Linux => Windows GDI regions code, Windows CoreWrite, Copilot+ PC EUFI firmware, Azure networking cards firmware. Requirement that unless required by existing code, C and C++ are deprecated for new projects on Azure Infrastructure team, Rust or compiled managed languages (C#, Java, Go) are the official ones for new projects.
- wavemode 2y agofish shell