Skip to content

Comment on Rust-Written Linux Scheduler Showing Promising Results for Gaming Performanceparent

Comments

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.

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.

But isn't exposing a C interface to Rust very easy? In either direction...

1:1, calling the original functions - sure. Building a good usable interface - that's harder.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.