News for hackers. Stuff that matters.
Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by sneakinsnake on Sunday April 21, 2024 @10:37AM (#40106085)
Can the same outcomes be achieved using C or C++?
Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by orbital-decay on Sunday April 21, 2024 @10:41AM (#40106118)
It's BPF-based so I imagine the meaningful part is already written in C.
Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by OtomotO on Sunday April 21, 2024 @10:56AM (#40106230)
Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by wffurr on Sunday April 21, 2024 @11:41AM (#40106613)
> Languages

C 91.3%

Rust 8.1%

Other 0.6%

Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by pjmlp on Sunday April 21, 2024 @11:52AM (#40106687)
It can even be done in BASIC for that matter, provided there is a compiler toolchain that supports eBPF as target.

Yes, it can be done in C and C++.

Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by IshKebab on Sunday April 21, 2024 @10:41AM (#40106116)
Of course. You can't do anything fundamentally in Rust that you couldn't do in C or C++ or Assembly. You can just do it a lot easier and with fewer bugs.
Re:Rust-Written LAVD Kernel Scheduler Shows Promising Result... by orwin on Sunday April 21, 2024 @10:45AM (#40106135)
I think Rust+C is way more effective (and by that i mean easy to write) than Rust or C alone, and i would bet that "Rust-written" in the title really mean "Rust+C".