zlacker

[parent] [thread] 19 comments
1. coldte+(OP)[view] [source] 2022-10-02 15:19:21
>And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.

I thought that he had apologised and regretted being hostile in comments. Apparently not. Not that I have much of an issue with ranty colorful language, but you need to also be right and have a legitimate cause to pull it off...

The point he makes is BS. "the reality is that there are no absolute guarantees. Ever" Yeah, DUH! The compiler could have bugs and soundness issues for example.

The point is you don't need "absolute guarantees" just "way safer and which dozens more classes of issues discovered automatically" is already enough. The other guy didn't write about "absolute guarantees". He said "WE'RE TRYING to guarantee the absence of undefined behaviour". That's an aim, not a claim they've either achieved it, or they can achieve it 100%

>Even "safe" rust code in user space will do things like panic when things go wrong (overflows, allocation failures, etc). If you don't realize that that is NOT some kind of true safely, I don't know what to say.

Well, if Linus doesn't realize this is irrelevant to the argument the parent made and the intention he talked about, I don't know what to say...

replies(6): >>ukweld+21 >>jstimp+b4 >>galang+I4 >>people+h5 >>jmull+r5 >>flumpc+jj
2. ukweld+21[view] [source] 2022-10-02 15:26:09
>>coldte+(OP)
Why are so many people criticizing Linus? This post strikes me as relatively moderate.

Other software dictators do exactly the same, but in a more underhanded and bureaucratic manner, which is worse. Yet their disciples call them "benevolent".

I can deal with Linus, but not with the latter. Linus strikes me as not being really serious or vindictive. It's just a colorful way of expressing himself.

replies(1): >>people+J4
3. jstimp+b4[view] [source] 2022-10-02 15:43:53
>>coldte+(OP)
> The point he makes is BS. > Yeah, DUH! > Well, if Linus doesn't realize

Bordering the hypocritical... And I got the impression you missed his point as well.

replies(1): >>coldte+1d
4. galang+I4[view] [source] 2022-10-02 15:46:34
>>coldte+(OP)
I think he does make a good point about the wrong answer sometimes being better than a panic. I assumed rust in the kernel would be compiled with no-panic.
◧◩
5. people+J4[view] [source] [discussion] 2022-10-02 15:46:36
>>ukweld+21
because people of modern age have to destroy everything's good, to feel better about themselves, without having to actually be good.
replies(1): >>coldte+Ub
6. people+h5[view] [source] 2022-10-02 15:49:17
>>coldte+(OP)
> Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.

In today's news "random angry guy on the Internet tells Linus Torvalds to go back to kindergarten, because reasons"

replies(1): >>coldte+Hc
7. jmull+r5[view] [source] 2022-10-02 15:49:47
>>coldte+(OP)
> The point he makes is BS. "the reality is that there are no absolute guarantees. Ever" Yeah, DUH!

You calling his point BS, but also strongly agreeing with it.

I guess you find it too obvious. But while it's obvious to many, there seem to be many who do not understand it. Issues involving rust often get derailed to pointlessness when rust's safety guarantees are treated as an absolute.

replies(1): >>coldte+qc
◧◩◪
8. coldte+Ub[view] [source] [discussion] 2022-10-02 16:25:33
>>people+J4
Sort of how Linus pisses on Rust with a not-actually-good argument?
replies(1): >>people+tA
◧◩
9. coldte+qc[view] [source] [discussion] 2022-10-02 16:28:06
>>jmull+r5
>You calling his point BS, but also strongly agreeing with it.

I'm only agreeing with the fact that there are no absolute guarantees. Not that his use of the fact in the point he makes has any relevance...

If somebody had said "The earth is round, therefore we should not care about getting lost and GPS, because you always can always keep going and end up where you started on a sphere anyway", then I would have also "stongly agreed" to the first factoid, but think the overall point BS.

replies(1): >>jmull+H31
◧◩
10. coldte+Hc[view] [source] [discussion] 2022-10-02 16:29:23
>>people+h5
Actually Linus wrote the above part. It's a quote from his post.
replies(1): >>people+MA
◧◩
11. coldte+1d[view] [source] [discussion] 2022-10-02 16:30:35
>>jstimp+b4
>Bordering the hypocritical...

Only if one can't separate a trivial factoid being used in an argument with the quality of the argument itself and the point being made...

You, know, you can agree that "there are no absolute guarantees" while still considering it a BS argument to use this fact to support that having the (non-absolute) guarantees Rust does give is in any way less useful...

You can also disagree that "there are no absolute guarantees", while true, has any place to be used in an argument against the use of safer compilers...

That's of: "There are no absolute guarantees against dying from a crash, and safety belts don't give you any, so let's not use safety belts either" quality

12. flumpc+jj[view] [source] 2022-10-02 17:03:57
>>coldte+(OP)
> "WE'RE TRYING to guarantee the absence of undefined behaviour". That's an aim, not a claim they've either achieved it, or they can achieve it 100%

How is a "guarantee" not claiming something is 100% ?

replies(1): >>coldte+502
◧◩◪◨
13. people+tA[view] [source] [discussion] 2022-10-02 18:42:24
>>coldte+Ub
Linus is not pissing on Rust though, his argument is about panic in Kernel code.

Why people feel attacked by Linus words is a mystery to me.

replies(2): >>V_Terr+TU >>coldte+bZ1
◧◩◪
14. people+MA[view] [source] [discussion] 2022-10-02 18:44:43
>>coldte+Hc
Then there's a good chance that he was right.

Harsh truths are still truths.

replies(1): >>coldte+902
◧◩◪◨⬒
15. V_Terr+TU[view] [source] [discussion] 2022-10-02 20:55:59
>>people+tA
Not sure how mysterious it can be when he opens with a rant like:

  And the *reality* is that there are no absolute guarantees.  Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.
This is needlessly talking down to competent developers as if they are deluded children. It's also not the only instance of it in the linked message. He would be far better off just going straight into the technical differences between what he is willing to permit in his kernel vs. what the Rust-oriented developers seek.
◧◩◪
16. jmull+H31[view] [source] [discussion] 2022-10-02 21:58:32
>>coldte+qc
The discussion is about what (if anything) the linux kernel should do to help satisfy the guarantees that rust wants to make.

Accepting the idea that rust guarantees aren't necessarily always good is needed to accept the idea that those guarantees might need to be relaxed, or at least don't necessarily justify linux kernel changes.

replies(1): >>coldte+rZ1
◧◩◪◨⬒
17. coldte+bZ1[view] [source] [discussion] 2022-10-03 06:52:55
>>people+tA
Yeah, a response saying "go back to kindergarden" etc, and people feel attacked? Such a mystery...
◧◩◪◨
18. coldte+rZ1[view] [source] [discussion] 2022-10-03 06:55:27
>>jmull+H31
>Accepting the idea that rust guarantees aren't necessarily always good

The idea that rust guarantees aren't necessarily always good is completely orthogonal to a condescending diatribe about how "there are no absolute guarantees", and totally needlessly connected to "go back to kindergarten" and "stop believing in Santa" BS.

◧◩
19. coldte+502[view] [source] [discussion] 2022-10-03 07:00:44
>>flumpc+jj
Almost all real life guarantees involve things that are not 100% guaranteed.

"I guarantee I will be there" - but I could always be hit by a bus, or have a very serious family issue to tend to, or an earthquake might happen, or the airports might be closed due to Covid and so on.

"Our bank guarantees your money" - yeah, except if the global economy collapses, or the country is hit by an asteroid, or if there's martial law, and so on.

The trivial such cases are irrelevant to the guarantees they want to offer (and same for Rust), and it's a bad move to point to them and consider them as part of his argument.

Not to mention they're saying "trying to", not guaranteeing in the first place. Which acknowledges things like possible bugs, or some edge case not handled, etc.

◧◩◪◨
20. coldte+902[view] [source] [discussion] 2022-10-03 07:01:08
>>people+MA
Yes, heads you win, tails we lose.
[go to top]