News for hackers. Stuff that matters.
Re:Maestro: A Linux-compatible kernel in Rust by fires10 on Wednesday January 03, 2024 @07:22AM (#38853240)
Can you expound in this some? I am not fully grasping your point. Are you saying "building safe by default" is a bad thing or assuming "safe forever" is a bad thing. Or are you saying something entirely different?
Re:Maestro: A Linux-compatible kernel in Rust by RHSeeger on Wednesday January 03, 2024 @07:32AM (#38853312)
I expect it's likely more of "memory safety in a language doesn't make it _safe_, it makes it less vulnerable". It removes _some_ issues, in the same way that a language with static types removes some ways a program can be wrong, it doesn't make it correct.
Re:Maestro: A Linux-compatible kernel in Rust by chatmasta on Wednesday January 03, 2024 @12:48PM (#38857101)
The problem is the word "safe," which is inherently ambiguous. Safe from what? A better term would be "correct," because at least that implies there is some spec to which the developer expects the program to conform (assuming the spec itself is "correct" and devoid of design flaws).
Re:Maestro: A Linux-compatible kernel in Rust by RHSeeger on Wednesday January 03, 2024 @02:43PM (#38858799)
While I agree with your point in general, I don't think the choice of wording is "the problem" here. But I do agree your wording is more correct.

It is almost impossible to prove a program is "correct". But things like memory safe languages, static typing, and automated tests allow us to prove the ways in which it is not "incorrect". And the more places it is not incorrect, the more likely it is to be correct (even if we can't prove it).

Re:Maestro: A Linux-compatible kernel in Rust by jvanderbot on Wednesday January 03, 2024 @07:25AM (#38853263)
I said "the idea of using memory safe languages is great!" And "using memory safe languages does not eliminate attack surface". (It's pre coffee here so I appreciate your probe)

I meant that it's over-reach to say it's completely trustworthy just bc it's written in a GC/borrow checked language.

Re:Maestro: A Linux-compatible kernel in Rust by insanitybit on Wednesday January 03, 2024 @07:31AM (#38853303)
The premise of my post was "imagine a memory safe kernel". I repeatedly use the word "imagine".
Re:Maestro: A Linux-compatible kernel in Rust by yjftsjthsd-h on Wednesday January 03, 2024 @09:17AM (#38854272)
The disagreement is that you wrote "imagine a memory safe kernel" but appear to have meant "imagine a kernel with zero vulnerabilities of any kind", and those things are not equivalent.