News for hackers. Stuff that matters.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by viraptor on Tuesday January 16, 2024 @05:16PM (#39019918)
It's not just attention grabbing. So far, almost all rust development I've seen has been in drivers. Getting something as core as scheduler replaced is a very interesting event.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by asveikau on Wednesday January 17, 2024 @01:23AM (#39023959)
I remember replacing the Linux scheduler in an undergraduate class. It's probably changed since those days but I don't think it's that hard. Doing a good job is probably very hard though.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by viraptor on Wednesday January 17, 2024 @02:01AM (#39024223)
I don't mean that it's particularly hard, but rather that it's using new interfaces which haven't been exposed yet, AFAIK. Scheduler itself + bpf is there from what I've seen, but likely other things too.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by asveikau on Wednesday January 17, 2024 @02:48PM (#39032504)
But isn't exposing a C interface to Rust very easy? In either direction...
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by viraptor on Wednesday January 17, 2024 @06:19PM (#39035028)
1:1, calling the original functions - sure. Building a good usable interface - that's harder.