News for hackers. Stuff that matters.
Re:Writing a Linux-compatible kernel in Rust by bawolff on Tuesday October 26, 2021 @06:35AM (#28998620)
Also, for people who hate memory safety issues, does it really matter which language? Rust is a solution with momentum. For the people motivated by that concern, fighting over language choice is a distraction.
Re:Writing a Linux-compatible kernel in Rust by hnlmorg on Tuesday October 26, 2021 @07:31AM (#28999014)
For user land it doesn't matter at all as people can mix and match whatever languages they want as long as there is an ELF entry point into the runtime. However rewriting the kernel, which is what this discussion is about, is a whole other matter.
Re:Writing a Linux-compatible kernel in Rust by moltonel3x on Tuesday October 26, 2021 @08:15AM (#28999413)
Userland is worth fighting for too. https://imgs.xkcd.com/comics/authorization.png

But as bawolff said, the main issue is moving towards safer tech. If Ada had good enough momentum, we'd be discussing Ada in the kernel instead. C++ has been rejected from Linux, leaving Rust as the only kernel-capable language with enough momentum, so Rust it is.

Re:Writing a Linux-compatible kernel in Rust by hnlmorg on Tuesday October 26, 2021 @08:45AM (#28999687)
> Userland is worth fighting for too. https://imgs.xkcd.com/comics/authorization.png

That has nothing to do with memory safety though let alone Rust specifically. What we need is a smarter way to manage authentication (non-persistent session cookies and usage a password manager to handle the log in is a step in the right direction).

Re:Writing a Linux-compatible kernel in Rust by nonesuchluck on Tuesday October 26, 2021 @08:56AM (#28999786)
We are stuck in a local minima with C and C++. Rust is a particle with high enough energy to tunnel through the barrier to a lower, safer energy level.

To some degree, it doesn't matter how Rust acquired the energy; if you want to hop the gap, gotta hitch a ride on the highest energy wave.

Re:Writing a Linux-compatible kernel in Rust by tcmart14 on Tuesday October 26, 2021 @06:54AM (#28998721)
Not necessarily. Language does matter as it is a construct that forms how problems are thought about. One thing I like about D is how it is much more multi-paradigm. I would like to see some more analysis of using D in Linux.