this post was submitted on 12 Sep 2024
827 points (95.6% liked)

linuxmemes

20753 readers
168 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MajorHavoc@programming.dev 7 points 6 days ago* (last edited 6 days ago)

Yeah. The idea of an automated C to Rust replacement of the Linux kernel is fascinating. As you say, there's probably stuff in the Kernel that Rust's compiler won't allow.

I imagine it wouldn't work at all, out of the box, but it might reduce the cost curve enough to make a dedicated team of very clever engineers able to cross the last mile, given time.

As cynical as I am of both Rust and AI generated code, it honestly feels like trying an automated conversion might be less of a long shot than expecting the existing Linux kernel developers to switch to Rust.

And I'm sure a few would kick in some thought cycles if a promising Kernel clone could be generated. These are certainly interesting times.