zlacker

[parent] [thread] 39 comments
1. kweing+(OP)[view] [source] 2022-10-02 15:10:51
Classic Linus.

From the closing paragraph, I feel like he’s under the impression that Rust-advocating contributors are putting Rust’s interests (e.g. “legitimizing it” by getting it in the kernel) above the kernel itself.

replies(5): >>aaaaaa+i1 >>sidlls+e2 >>magica+Q3 >>lbhdc+qd >>mlindn+lp
2. aaaaaa+i1[view] [source] 2022-10-02 15:19:01
>>kweing+(OP)
Is he wrong?
replies(2): >>bitexp+f2 >>kweing+y2
3. sidlls+e2[view] [source] 2022-10-02 15:24:45
>>kweing+(OP)
They probably are, in many cases. Rust’s community, in aggregate, have developed a reputation (earned, in my opinion). It’s too bad that the community don’t follow the leaders’ example in this regard. There are some quality, level-headed Rust advocates. They appear to be the minority.
replies(2): >>mustac+d6 >>mlindn+3p
◧◩
4. bitexp+f2[view] [source] [discussion] 2022-10-02 15:24:47
>>aaaaaa+i1
Does it even matter? Rust does what it does and it was enough of a benefit to include in the kernel. It is a big accomplishment.
◧◩
5. kweing+y2[view] [source] [discussion] 2022-10-02 15:27:02
>>aaaaaa+i1
Regardless of whether he’s right or wrong, I think that this is somewhat natural and is to be expected.

Like with any emerging technology, early adopters become advocates because they’re convinced of the technology’s superiority. Once they organize into a community and get to know each other personally, then at least some of the motivation shifts: you want to see your friends succeed, you want to be part of a community that is making change, you want your early adoption to be “validated” by mainstream success, etc.

This can cloud technical judgment (not saying this is happening here, but if it were, it wouldn’t be surprising)

6. magica+Q3[view] [source] 2022-10-02 15:34:02
>>kweing+(OP)
> I feel like he’s under the impression that Rust-advocating contributors are putting Rust’s interests (e.g. “legitimizing it” by getting it in the kernel) above the kernel itself.

I mean the post Linus initially responded to did contain[1] a patch removing a kernel define, asking if anyone had any objections over removing that define, just to make the resulting Rust code a little nicer looking.

[1]: https://lkml.org/lkml/2022/9/19/640

◧◩
7. mustac+d6[view] [source] [discussion] 2022-10-02 15:46:54
>>sidlls+e2
At least they don't go around slandering programming language communities.

If we're going to be serious about who is being toxic, it's definitely Linus in this thread. Guy makes first mistake (by a very broad interpretation of "mistake". Perhaps "misunderstanding"?). Linus goes nuclear. And while his reasoning is sound, his argumentation cycles between threats, bad-faith arguments, and just plain old yelling.

What some people don't understand is that the Linux kernel isn't 'led' in any meaningful sense. But I suppose some projects don't need actual leadership? I once was recommended a Metallica documentary, because "It's amusing to see what emotionally stunted 40-50 year olds who have never had anyone tell them 'No' since 18 will do." That's the Linus vibe -- somehow we've limped along to here. Seriously, read the rust/rust-lang issues/RFCs. Those people sound like grownups contrasted to this.

replies(7): >>kweing+j8 >>h2odra+M8 >>throw8+E9 >>shepar+F9 >>chrsig+P9 >>turtle+Ec >>znpy+Eg
◧◩◪
8. kweing+j8[view] [source] [discussion] 2022-10-02 15:59:24
>>mustac+d6
> At least they don't go around slandering programming language communities.

Not so sure about this. I see a good amount of acrimony toward C, C++, Go, Zig, etc. from the Rust side.

replies(2): >>mustac+t9 >>timeon+jp
◧◩◪
9. h2odra+M8[view] [source] [discussion] 2022-10-02 16:02:02
>>mustac+d6
Threats? Slander? Do you feel that you're "speaking for a community" here?
replies(1): >>mustac+ic
◧◩◪◨
10. mustac+t9[view] [source] [discussion] 2022-10-02 16:05:53
>>kweing+j8
I think "acrimony" among languages (not language communities) is fine, like "you don't have an Option type?" or "you don't guarantee I won't have a use after free?". I think saying the "The Go/Rust/Zig community is uniquely toxic" crosses a line. And, to be very clear, if Rust people do it, I think it's awful as well.
replies(1): >>sidlls+Wh
◧◩◪
11. throw8+E9[view] [source] [discussion] 2022-10-02 16:07:16
>>mustac+d6
Guy makes mistake and even after that continues discussion though he already heard the agreed argument?

I'm not understanding that if Linuxrusters want to do more their own thing and get rid of those rules and discussions they just fork off a real Linuxrustkernel and go off?

The "political correct" toxicity comes from that group which continously wants to undermine long beforehand agreeds frontiers... (e.g. again this panic-is-more-safe discussion).

replies(1): >>mustac+am
◧◩◪
12. shepar+F9[view] [source] [discussion] 2022-10-02 16:07:16
>>mustac+d6
> Linus goes nuclear. And while his reasoning is sound, his argumentation cycles between threats, bad-faith arguments, and just plain old yelling.

In my opinion, in the software world, there is a large number of people who are very convinced of their own correctness. When they do something wrong or are simply mistaken, a gentle correction doesn't work. Linus is probably used to dealing with these people. I'm not saying the person he was replying to was necessarily doing that, but after a while you have an automatic response.

The beauty and horror of OSS is that anyone can contribute. Having someone scream "WTF are you doing???" every once in a while isn't a bad thing. It's not nice to hear that being directed at you, but sometimes in life it is necessary.

replies(2): >>mwcamp+Ua >>Ar-Cur+We
◧◩◪
13. chrsig+P9[view] [source] [discussion] 2022-10-02 16:07:54
>>mustac+d6
...this is not at all Linus going nuclear. I don't see any threats or 'yelling'. He could have been more diplomatic, and I think Linus was actually trying to be. Diplomacy isn't his strongest suit. I don't think the first comment in his reply was necessarily appropriate, because it was directed at the person rather than the problem. I can also understand not wanting to mince words and establish a very firm boundary so it doesn't become a perennial conversation.
◧◩◪◨
14. mwcamp+Ua[view] [source] [discussion] 2022-10-02 16:13:19
>>shepar+F9
In light of this comment, one thing that makes me nervous about leading my own open-source project is that there might not be anyone who is willing to scream "WTF are you doing???" at me when I make a bad design decision.
replies(1): >>acjohn+Tk
◧◩◪◨
15. mustac+ic[view] [source] [discussion] 2022-10-02 16:21:27
>>h2odra+M8
Heck no! And I can't imagine anyone thinking I was?

The threat is pretty clear? "If Rust people don't get this, we will have to part ways." This is an ultimatum? It's crazy girlfriend/boyfriend material? It's ridiculous after one contributor tries something that Linus thinks won't work in the kernel. Ridiculous. Just say no.

The slander as well? "Rust’s community, in aggregate, have developed a reputation." And you know what? The C/C++/Zig/Nim/Haskell/Clojure communities have developed a reputation too, but, gosh, I don't talk about it because I know labeling groups isn't helpful/is completely non-technical.

replies(2): >>sidlls+vt >>topspi+BJ
◧◩◪
16. turtle+Ec[view] [source] [discussion] 2022-10-02 16:22:54
>>mustac+d6
It might be difficult to back out kernel changes versus userspace changes. App-level concerns with leaky abstractions could follow functional programming, immutable state, fail-fast, and all sorts of gospel--but there's still a kernel doing stuff behind the scenes.

If the kernel acquiesces to certain philosophies that are opposite to its intent as-a-kernel for many other environments and contexts it must support, a cascade of later patches could derail things completely. It may become too much effort to undo, and the project must limp along--until that mountain of tech debt costs too much to fix.

Maybe the kernel cannot fail fast for good reasons. And the Linux project cannot fail fast for equally good reasons.

And possibly, if a technically compelling reason presents itself, Linus may fully back it--even contributing to that work himself.

17. lbhdc+qd[view] [source] 2022-10-02 16:26:03
>>kweing+(OP)
I was under the impression that was the reason for the push.
◧◩◪◨
18. Ar-Cur+We[view] [source] [discussion] 2022-10-02 16:32:56
>>shepar+F9
> In my opinion, in the software world, there is a large number of people who are very convinced of their own correctness. When they do something wrong or are simply mistaken, a gentle correction doesn't work.

Too bad there was no around to do that to Linus; maybe he'd finally realize that being an asshole is generally not a correct response.

replies(1): >>mustac+Ks
◧◩◪
19. znpy+Eg[view] [source] [discussion] 2022-10-02 16:41:41
>>mustac+d6
> Linus goes nuclear.

By his own standards he’s been very polite and calm. Remarkably so I’d say.

He used to be way ruder in the past, then decided to work on that and be kinder.

You can clearly see that in those emails.

The fact that he doesn’t agree with somebody and articulates why doesn’t mean he’s rude.

◧◩◪◨⬒
20. sidlls+Wh[view] [source] [discussion] 2022-10-02 16:48:48
>>mustac+t9
It’s not unique to Rust’s community at all. I think they have relatively more visibility in places like HN, currently.
◧◩◪◨⬒
21. acjohn+Tk[view] [source] [discussion] 2022-10-02 17:05:16
>>mwcamp+Ua
Do you not have faith in yourself to receive feedback on your design if someone provided it in a less aggressive way?
◧◩◪◨
22. mustac+am[view] [source] [discussion] 2022-10-02 17:12:15
>>throw8+E9
> The "political correct" toxicity comes from that group which continously wants to undermine long beforehand agreeds frontiers

I have no idea what this actually refers to? "Panic is more safe"? Rust doesn't choose to panic on a failed memory allocation in the kernel, and never intended to. It was always TODO until it was implemented? Linus is using a userspace panic as an example here?

As to this thread's particular issue, the API for an allocation wasn't settled, and this is the discussion. I think the contributor was completely within his remit to say, "Heck, we could do this is a more memory safe way..." And Linus was completely right to say "Yeah, that's not how we do allocations here." The only problem is thinking being a dick is a good way to lead a community.

I think some fantasize about being able to be a dick in a FOSS project just like Linus (which feels like "if only I was a strong man dictator"), and I think that's an absurd desire. The Linux kernel is sui generis. In no other area of the world can anyone act this way, and be productive.

◧◩
23. mlindn+3p[view] [source] [discussion] 2022-10-02 17:28:08
>>sidlls+e2
Oh please. Stop smearing Wedson all over the map.
◧◩◪◨
24. timeon+jp[view] [source] [discussion] 2022-10-02 17:29:08
>>kweing+j8
> Zig

In this case it seems to be mutual. Even open hostility from some leading members of Zig community. Which is shame because these two languages could nicely coexist.

25. mlindn+lp[view] [source] 2022-10-02 17:29:30
>>kweing+(OP)
You're completely wrong here. There is no push to "legitimize" Rust by getting it into the kernel. A lot of people want to actively write drivers for Linux without having to use C to do it.

Trying to tweak the kernel to make integration easier in a supposed non-harmful way doesn't harm anything.

replies(1): >>yencab+G41
◧◩◪◨⬒
26. mustac+Ks[view] [source] [discussion] 2022-10-02 17:47:51
>>Ar-Cur+We
I think this is generally correct. The argument is "Linux is extraordinarily successful" but I think the counter is just as powerful "How many great features have not been implemented, because people have avoided working on the kernel or simply burnt out?"
◧◩◪◨⬒
27. sidlls+vt[view] [source] [discussion] 2022-10-02 17:51:14
>>mustac+ic
The difference is these communities don’t have advocates spamming every technical thing they can find crapping on everyone else and proclaiming their favored language/tech to be indisputably superior in every case.
replies(2): >>mustac+9x >>V_Terr+411
◧◩◪◨⬒⬓
28. mustac+9x[view] [source] [discussion] 2022-10-02 18:13:25
>>sidlls+vt
If you don't think the Rust "community" receives the same sort of spam arguments from anti-Rust folks, then you're kidding yourself. And, yes, I completely understand that such arguments are super annoying. But the wrong response in my view is to answer with another stupid argument ("The Rust community is the problem.")

Was Wedson acting in an untoward way here that in some way exemplifies something significant about the Rust community? No, not really. So, yeah, I think your comment above is a pointless low blow, cheap shot, an excuse to act nasty about some super annoying Rust comment you probably read months ago. And it just sounds like whining to me.

◧◩◪◨⬒
29. topspi+BJ[view] [source] [discussion] 2022-10-02 19:35:36
>>mustac+ic
> "If Rust people don't get this, we will have to part ways."

What are you quoting? I don't see this anywhere in the thread.

The nearest I see is:

    If you cannot get over the fact that the kernel may have other
    requirements that trump any language standards, we really can't work
    together.
A reasonable, politely delivered, statement directed to an individual as opposed to Rust. It was in response to this rather cringy bit of lecturing:

    No one is talking about absolute safety guarantees. I am talking about
    specific ones that Rust makes: these are well-documented and formally
    defined.
Rust has no formal language specification yet. It's still "an area of research," to paraphrase what is said when the question is asked. No defined memory model either; from the current Rust reference:

    Rust does not yet have a defined memory model. Various academics
    and industry professionals are working on various proposals, but
    for now, this is an under-defined place in the language.
One could argue (not me; I'm far too pragmatic for such things) that Linus is being exceptionally generous in entertaining Rust in its current state.
replies(1): >>mustac+IL
◧◩◪◨⬒⬓
30. mustac+IL[view] [source] [discussion] 2022-10-02 19:50:18
>>topspi+BJ
FWIW, I actually mostly agree with Linus.

I was paraphrasing. I didn't want to write a page length comment, and won't here, but there were a few more instances of similar ultimatums (like "Or, you know, if you can't deal with the rules that the kernel requires, then just don't do kernel programming.") And all are similarly ridiculous/dickish. Really no need for such dramatic convulsions, Linus, where Wedson was simply trying to explain the API expectations of the Rust language.

Re: the rest, I think you are conflating Rust's UB guarantees with a specified memory model.

replies(1): >>topspi+7O
◧◩◪◨⬒⬓⬔
31. topspi+7O[view] [source] [discussion] 2022-10-02 20:05:43
>>mustac+IL
> I was paraphrasing.

You put it in quotes and didn't mention any paraphrasing. Linus didn't write it.

> Rust's UB guarantees

Can you point out the normative document that provides these guarantees? Rust doesn't have one as far as I know.

replies(1): >>mustac+RO
◧◩◪◨⬒⬓⬔⧯
32. mustac+RO[view] [source] [discussion] 2022-10-02 20:11:19
>>topspi+7O
> You put it in quotes and didn't mention any paraphrasing. Linus didn't write it.

I think it's a fair characterization of what was said. Feel free, as everyone is, to read the entire thread again. I'm not a journalist. You have the primary source at your finger tips!

> Can you point out the normative document that provides these guarantees?

You're looking at the Rust reference right? https://doc.rust-lang.org/reference/behavior-considered-unde...

replies(2): >>topspi+AP >>topspi+kQ
◧◩◪◨⬒⬓⬔⧯▣
33. topspi+AP[view] [source] [discussion] 2022-10-02 20:15:18
>>mustac+RO
> You're looking at the Rust reference right?

Not normative, as stated here[1], linked from the page you cite.

[1] https://doc.rust-lang.org/nomicon/index.html

replies(1): >>mustac+bQ
◧◩◪◨⬒⬓⬔⧯▣▦
34. mustac+bQ[view] [source] [discussion] 2022-10-02 20:18:50
>>topspi+AP
Okay? Do you think you have you quibbled enough? To be clear, I still think it's fine for Wedson to inform him even if the document is not a normative reference/specification? Even if these are just the expectations of API/Rust users?
replies(1): >>topspi+VR
◧◩◪◨⬒⬓⬔⧯▣
35. topspi+kQ[view] [source] [discussion] 2022-10-02 20:19:44
>>mustac+RO
> I think it's a fair characterization of what was said.

I think inventing Linus quotes is unfair.

replies(1): >>mustac+SQ
◧◩◪◨⬒⬓⬔⧯▣▦
36. mustac+SQ[view] [source] [discussion] 2022-10-02 20:23:12
>>topspi+kQ
Again, not a journalist? You/everyone are supposed to have read the primary source, as it's the linked subject of our discussion. I think whatever expectations of fairness we have for internet comments -- I have far exceeded them. And now we have your comment pointing out... whatever it is you wanted to point out. Reader beware!
◧◩◪◨⬒⬓⬔⧯▣▦▧
37. topspi+VR[view] [source] [discussion] 2022-10-02 20:28:59
>>mustac+bQ
> the expectations of API/Rust users?

Pointing out whatever those are is fine. Linus pointing out the expectations of the Linux kernel is fine too, and no amount of invoking fictional formalisms trumps them.

replies(1): >>mustac+rT
◧◩◪◨⬒⬓⬔⧯▣▦▧▨
38. mustac+rT[view] [source] [discussion] 2022-10-02 20:38:23
>>topspi+VR
I 100% agree. And if you read my comments you'd realize, I agree with Linus on the substance. I think the way he said it was dick-ish. That's it!
◧◩◪◨⬒⬓
39. V_Terr+411[view] [source] [discussion] 2022-10-02 21:29:16
>>sidlls+vt
Extraordinary claims ought to be supported by extraordinary evidence. Those are some serious accusations you make.
◧◩
40. yencab+G41[view] [source] [discussion] 2022-10-02 21:56:21
>>mlindn+lp
Linus is specifically saying the proposed "tweak" is not desirable.
[go to top]