this post was submitted on 13 Apr 2024
730 points (95.9% liked)
linuxmemes
20880 readers
7 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- 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
view the rest of the comments
What's wrong with c++?
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.
And now there is precedent for Rust components in the Linux kernel.
It do be like that... a lot of old languages want to be Rust...
What’s wrong with C? Just write a module