Announcement

Collapse
No announcement yet.

Rust Code For The Linux Kernel Updated With More Features Implemented

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • smitty3268
    replied
    Originally posted by ihatemichael View Post

    C isn't that difficult.
    The Dunning-Kruger effect is real with C.

    Leave a comment:


  • darkonix
    replied
    Originally posted by ihatemichael View Post

    C isn't that difficult.
    I have to agree. It is very easy to use memory incorrectly and trigger undefined behavior in C ;-)

    Leave a comment:


  • lordnaikon
    replied
    Originally posted by ihatemichael View Post

    C isn't that difficult.
    Sure. The same is true for chess. I can explain it to you in a few minutes.

    Leave a comment:


  • coder
    replied
    Originally posted by ihatemichael View Post
    C isn't that difficult.
    The C language isn't, but there's the additional learning curve of good style. And each project has their own conventions, idioms, macros, and utility libraries. All that is over and above learning the relevant parts of kernel architecture. So, I wouldn't minimize the learning curve.

    If someone is already well-acquainted with Rust, I think that would be an easier entry point for them to get involved in kernel development.

    Leave a comment:


  • moltonel
    replied
    Originally posted by ihatemichael View Post
    C isn't that difficult.
    On the surface it isn't, but the subtleties run deep,and kernel code adds its own level of trickery. Beyond being difficult to use, you might also be put off by it being (subjective opinon warning) not nice to use.

    I used to quite like C and C++. It's a good chunk of my CS years and my first jobs. But they have evolved past my willingness to understand them. I wouldn't have gone back into system programing without Rust (or some hypothetical future language with similar qualities).

    Leave a comment:


  • Quackdoc
    replied
    Originally posted by ihatemichael View Post

    C isn't that difficult.
    making good C is for me.

    Leave a comment:


  • ihatemichael
    replied
    Originally posted by Alliancemd View Post
    Once this lands, I might dabble for the first time in Linux kernel module development. Quite excited for this to land
    C isn't that difficult.

    Leave a comment:


  • coder
    replied
    Originally posted by Developer12 View Post
    eBPF isn't good enough to write drivers and has it's own weird restrictions.
    Yes, of course. But it sounded as if Alliancemd didn't actually need to write drivers, per se.

    Anyway, just mentioning it for people's awareness. Its safety & security benefits over native kernel development are real. You can still use Rust, either way:

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

    Leave a comment:


  • erniv2
    replied
    If things go through and MGLRU Preemt-RT and Rust realy get merged Linux 6.0 will be a milestone, 2 major apiĀ“s and a new Laguage api what is more worthy of a Major Release Herunterladen.jpg
    waku waku

    Leave a comment:


  • Developer12
    replied
    Originally posted by coder View Post
    If you want to learn about the kernel internals, that's cool. Otherwise, you should take a look at what you can accomplish with eBPF. It's a safer way to handle a variety of tasks, and IIRC has broad & growing language support.
    eBPF isn't good enough to write drivers and has it's own weird restrictions.

    Leave a comment:

Working...
X