this post was submitted on 13 Apr 2024
729 points (95.8% liked)

linuxmemes

19747 readers
1930 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
[–] [email protected] 5 points 2 months ago (2 children)
[–] [email protected] 43 points 2 months ago (2 children)

For kernel dev it would be a disaster, there's too much implicit action, and abstractions that have unknown runtime cost. The classic answer is that everyone uses 10% of its features over C, but nobody can agree on which 10%.

As someone forced to get up to date with C++ recently, at this point it's a language in full identity crisis. It wants so badly to be Rust, but it's got decades of baggage it's dragging along.

[–] model_tar_gz 14 points 2 months ago

And now there is precedent for Rust components in the Linux kernel.

[–] [email protected] 5 points 2 months ago

It do be like that... a lot of old languages want to be Rust...

[–] [email protected] 11 points 2 months ago

What’s wrong with C? Just write a module

  • My dad