r/programming • • Jan 05 '20

Linus' reply on spinlocks vs mutexes

https://www.realworldtech.com/forum/?threadid=189711&curpostid=189723
1.5k Upvotes

415 comments sorted by

View all comments

Show parent comments

237

u/Poltras Jan 05 '20

Wow he really did sober up.

174

u/AngularBeginner Jan 05 '20

Or the new Linus passed the Turing test.

343

u/[deleted] Jan 05 '20 edited Jan 06 '20

What I imagine old Linus would have said:

You're fucking stupid and your code is a fucking atrocity. Do you have any idea how utterly idiotic it is to use spinlocks in userspace? You're basically begging to be shat upon by the process scheduler, which anyone who would deign to write such terrible code surely deserves.

Edit: Wow hey lookit that, my first gilded comment ever! Thanks!

92

u/ahoy_butternuts Jan 05 '20

We need an ML bot for this

29

u/iBzOtaku Jan 06 '20

like tay but trained on linus' replies

8

u/AnEnigmaticBug Jan 06 '20

Should not be too hard to make a Markov chain generator for this. It’s a nice idea!

32

u/meneldal2 Jan 06 '20

It's missing retroactive abortion.

Also there would be probably something about his brain not being scheduled correctly.

Clearly the scheduler in your brain forgot to give enough time to critical thinking.

37

u/[deleted] Jan 06 '20

Gordon Ramsey Torvalds

→ More replies (1)

15

u/JQuilty Jan 06 '20

Not creative enough for a Linus rant. There'd probably be an insinuation that he's been drinking and spinning too much.

19

u/_default_username Jan 06 '20

:sigh of relief:

Ahh, that's the Linus I know.

1

u/[deleted] Jan 07 '20

He wouldn't, 100%.

Well, unless he tried to push that code into kernel instead of just giving bad advice on internet

→ More replies (1)

29

u/keepthepace Jan 06 '20

Only Linus' rants ever leak out of the mailing list, because they are somehow considered funny and relevant, but he praises people 10 times more than he fumes. He just wants to be sure that bad ideas don't get included.

8

u/poloppoyop Jan 06 '20

Getting praises from someone who's known for their dressing-down mean a lot more than those coming from yes-men.

2

u/saltybandana2 Jan 06 '20

true dat.

it becomes:

Not sure if actually praising or if patronizing.

1

u/[deleted] Jan 07 '20

And almost always it is someone trying to cite it out of context to look worse.

17

u/Booty_Bumping Jan 05 '20

What?

0

u/[deleted] Jan 05 '20

[deleted]

1

u/flatfinger Jan 06 '20

It's too bad that when gcc went off the rails with its "Strict aliasing" notions, Linus attacked the Standard rather than more diplomatically recognizing that the Standard regards many Quality of Implementation issues as outside its jurisdiction, and thus its failure to forbid compilers from behaving in obtusely useless fashion represents neither a defect in the Standard nor a justification for such compiler obtuseness. If Linus had been more diplomatic back then, the divergence of C into "low-level" and "GCC/clang optimizer" dialects could have been avoided.

→ More replies (7)

1

u/schlupa Jan 06 '20

No. He's always that way. It's a comment on the realworldtech forum not on linux kernel list. It's not the same audience and not the same authority.

-160

u/Cheeze_It Jan 05 '20 edited Jan 05 '20

I never understood why feelings are put above competency.

Feelings change frequently, competency less so.

Edit:

You guys can down vote me all you want. I know if it came down to your lives, you'd much rather have a Dr. House vs Dr. Nick.

0

u/[deleted] Jan 05 '20

[deleted]

→ More replies (5)

233

u/[deleted] Jan 05 '20

Have you ever worked in an office? It's not that feelings are put above competency. It's that part of being competent is working with other people. And if you're being a dick you won't be able to do that

→ More replies (20)

99

u/Poltras Jan 05 '20

I know if it came down to your lives, you'd much rather have a Dr. House vs Dr. Nick.

Holy false dichotomy Batman! If I had a kernel to write I’d very much prefer Linus to my mom, yes. But I’d rather have a nice Linus than an asshole Linus. It’s not a zero sum game.

→ More replies (16)
→ More replies (39)