Hacker News new | ask | show | jobs
by coliveira 1115 days ago
People using C will not change to your language-du-jour, please stop.
4 comments

> People using C will not change to your language-du-jour, please stop.

Two years ago, your argument would have implied that Rust would never be allowed into the Linux kernel, and yet here we are.

Rust in the kernel is a whole different beast than what most people think--no standard library, no cargo or external crates, some memory safety features removed. It's kind of just an alternative syntax.
There are all kinds of weird stuff in the kernel, many of them will just die.
What other programming languages are used in Linux kernel code?
I wonder if Linus it taking the time to teach himself Rust.
Almost every dev I know who uses C (including myself) also uses other languages. Nobody should only have one tool in their toolbox.
You seem to be replying to the wrong comment, I am not suggesting that people switch away from C.
They better improve their error free coding skills when liability laws come for them.
This I can't wait for but the bigger problem will be that the rest of the development process is at least as broken as the languages are.