Hacker News new | ask | show | jobs
by eartheaterrr 2639 days ago
>As to C, nothing better has come around.

>The kind of languages people see under active development aren't for low-level system programming.

I found it interesting that he didn't mention Rust. Or is Rust not suitable for kernel development?

2 comments

Rust fans should contribute to Rust kernels and stop suggesting porting existing ones like Linux, rewriting existing working code without introducing new bugs and changing behavior is hard and expensive as in developer hours, it is faster to do it from scratch in your favorite language with your favorite patterns and drop legacy stuff(even this means you will have less possible users then Linux).
He was once asked about Rust during an interview: https://www.infoworld.com/article/3109150/linux-at-25-linus-...
> I'm not convinced about Rust for an OS kernel (there's a lot more to system programming than the kernel, though), but at the same time there is no question that C has a lot of limitations.

> To anyone who wants to build their own kernel from scratch, I can just wish them luck. It's a huge project, and I don't think you actually solve any of the really hard kernel problems with your choice of programming language. The big problems tend to be about hardware support (all those drivers, all the odd details about different platforms, all the subtleties in memory management and resource accounting), and anybody who thinks that the choice of language simplifies those things a lot is likely to be very disappointed.