Torvalds Speaks: Rust's Impact on the Linux Kernel

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024
  • 🚀 *Linux Torvalds Reveals Insights on Rust Programming Language!*
    In this exclusive interview, dive deep into the world of open-source programming as Linux creator Linus Torvalds shares his thoughts on the Rust programming language. Learn about the potential impact of Rust on the Linux kernel and the future of software development.
    🔗 *Related Resources:*
    [Link to Rust Programming Language](www.rust-lang....)
    [Linux Kernel Development](www.kernel.org/)
    📚 *Recommended Books:*
    "The Rust Programming Language" by Steve Klabnik and Carol Nichols
    "Just for Fun: The Story of an Accidental Revolutionary" by Linus Torvalds

ความคิดเห็น • 1.1K

  • @ipsb
    @ipsb 10 หลายเดือนก่อน +1423

    Linus is the living embodiment of "How a single person with great dedication and determination can literally change the world."

    • @Thornik2012
      @Thornik2012 10 หลายเดือนก่อน

      I say more precise: "How one mediocre with shallow knowledge + thousands of brainless lemmings can screw up a whole industry, throwing us back at 30 years".

    • @cassiofbs
      @cassiofbs 10 หลายเดือนก่อน +122

      ​@tecTituswhy elon?

    • @_Holy_Lance_
      @_Holy_Lance_ 10 หลายเดือนก่อน +6

      And high IQ

    • @absobel
      @absobel 10 หลายเดือนก่อน +15

      And a little bit of luck, but yeah, the dedication is insane

    • @amjadiqbal478
      @amjadiqbal478 10 หลายเดือนก่อน

      Wow 😮.

  • @MrPetzold123
    @MrPetzold123 10 หลายเดือนก่อน +1195

    Linux obviously is huge, but then this guy also brought us Git...we as developers owe him tremendous gratitude ❤.

    • @Thornik2012
      @Thornik2012 10 หลายเดือนก่อน +25

      Git is everything except normal DVCS. Linus' toy. Bad architecture, bad implementation and zero future.

    • @miroslavstevic2036
      @miroslavstevic2036 10 หลายเดือนก่อน +111

      I don't see any of your smart and superbly implemented "toys" out there.

    • @MrPetzold123
      @MrPetzold123 10 หลายเดือนก่อน +151

      @@Thornik2012 Zero future ? To me it rather seems that it has taken over the whole market :-)

    • @Alexagrigorieff
      @Alexagrigorieff 10 หลายเดือนก่อน +74

      @@Thornik2012 That's just, like, your opinion, man

    • @stevecarter8810
      @stevecarter8810 10 หลายเดือนก่อน +13

      Git 's currently causing shit shows in centralised corporate workflows worldwide because both the kids with no business context and the managers with no technical context think it's modern and suitable

  • @kavehtehrani
    @kavehtehrani 10 หลายเดือนก่อน +439

    Linus' impact on the world of CS is simply monumental. Always a pleasure to listen to.

    • @Thornik2012
      @Thornik2012 10 หลายเดือนก่อน +22

      wat?? What Linus did in Counter Strike? It's Valve!

    • @kavehtehrani
      @kavehtehrani 10 หลายเดือนก่อน +13

      @@Thornik2012 CS = Computer Science

    • @rcatv7750
      @rcatv7750 10 หลายเดือนก่อน +4

      @@kavehtehrani I think Thornik2012 was speaking in jest.

    • @onkeljudith
      @onkeljudith 10 หลายเดือนก่อน +1

      Obviously cyber xxx

    • @ivanleon6164
      @ivanleon6164 10 หลายเดือนก่อน

      a monster

  • @jb31842
    @jb31842 10 หลายเดือนก่อน +769

    Congrats to Linus for 32 years with the kernel, and here's to 32 more!
    Because that would make 64 years... another power of two...

    • @jonbikaku6133
      @jonbikaku6133 10 หลายเดือนก่อน +19

      Bruh they've already started with plans once he retires soon. Its going to be a sad sad day

    • @Bob-of-Zoid
      @Bob-of-Zoid 10 หลายเดือนก่อน

      @@jonbikaku6133 Well, it's a great idea to have a plan now, just in case, but I haven't heard anything on what it contains.

    • @null_geodesic
      @null_geodesic 10 หลายเดือนก่อน +5

      He doesn't have 32 years total, let alone with the kernel. Time is the fire in which we all burn.

    • @Bob-of-Zoid
      @Bob-of-Zoid 10 หลายเดือนก่อน +1

      @@null_geodesic He doesn't? So then what is it? Saying something isn't true and not saying what you have to replace it is week at best, and how what the F does that silly "we all burn" analogy mean?

    • @null_geodesic
      @null_geodesic 10 หลายเดือนก่อน +1

      @@Bob-of-Zoid It's a way to circumvent YT crap AI moderation because it doesn't like mention of our unceremonious end as human beings. It means that Linus will not live forever. Time is the fire in which we all burn. Within 32 years, he'll move on to "Sovngarde" if he's lucky because life at 86 sucks.
      As he gets older, he'll also get stuck in his ways and will become a liability to the Linux project. Same way Gene Roddenberry became a liability to Star Trek and Bjarne Stroustrup is becoming a liability to C++.

  • @thiagoalves5404
    @thiagoalves5404 10 หลายเดือนก่อน +570

    I like how the host measures time through kernel releases

    • @FlrQue
      @FlrQue 10 หลายเดือนก่อน +60

      This is what I call the Unix Epoch

    • @imorvit
      @imorvit 10 หลายเดือนก่อน +24

      the Linux Epoch kek

    • @imorvit
      @imorvit 10 หลายเดือนก่อน +4

      ​@@FlrQuedamnit you got to it first

    • @phoneaccount6907
      @phoneaccount6907 10 หลายเดือนก่อน +5

      I've personally started at 2.2 linux kernel. First compiled 2.4, and wrote modules for 2.4. Then 2.6, and that was last time i've ported my stuff to it. Now its obsolete hardware somewhere in my basement.

    • @igorschmidlapp6987
      @igorschmidlapp6987 9 หลายเดือนก่อน +4

      @@imorvit January 1, 1970, the epoch began... Yes, I'm an old UNIX fart.... ;-P

  • @pronounjow
    @pronounjow 10 หลายเดือนก่อน +134

    We wouldn't have today's world, nor the world of the upcoming future, without Linux. Linus could probably be considered this century's Person of the Century. Kudos to Linus!

    • @BrianThorne
      @BrianThorne 9 หลายเดือนก่อน +1

      Going to far back in time. The most productive time in human history

    • @devnull1013
      @devnull1013 9 หลายเดือนก่อน +6

      Other players would have filled the gap. The world as we know it, or a variation quite like it, would certainly exist without Linus.

    • @davidwuhrer6704
      @davidwuhrer6704 8 หลายเดือนก่อน +1

      ​@@devnull1013Probably some version of BSD would have filled that niche. But Linux did show BSD how to run faster.

    • @youtubeacc666
      @youtubeacc666 4 หลายเดือนก่อน +2

      Typical simp comment... If not Linus it would have been someone else... Go back to scrolling

    • @raulsaavedra709
      @raulsaavedra709 2 หลายเดือนก่อน

      Future: calendars based on the year XYZ of the linux kernel

  • @unalive_me
    @unalive_me 10 หลายเดือนก่อน +1003

    Linus has always grown as a person and as a developer/technical lead. That's hard to find in a person.

    • @no_name4796
      @no_name4796 10 หลายเดือนก่อน +75

      That's good, as he literally has the final word on a project which powers every kind of technology in the world

    • @shpluk
      @shpluk 10 หลายเดือนก่อน +43

      Really? Hard to find? What is the point of this kind of sucking up, he's never going to see this comment.
      To all the other people out there I know you're getting better by the hour, you are doing a great job 👍🏼

    • @ChrisWijtmans
      @ChrisWijtmans 10 หลายเดือนก่อน +8

      Growing senile sounds about right.

    • @BenGras
      @BenGras 10 หลายเดือนก่อน +2

      @@shplukthanks buddy

    • @MrChelovek68
      @MrChelovek68 10 หลายเดือนก่อน +6

      i disagree. i don't like rust, thats all

  • @gandalfgrey91
    @gandalfgrey91 10 หลายเดือนก่อน +1570

    Rust is definitely a programming language.

    • @RenderingUser
      @RenderingUser 10 หลายเดือนก่อน +137

      Omg you're right 🤯

    • @igorordecha
      @igorordecha 10 หลายเดือนก่อน +152

      never thought about it that way

    • @SCK-47
      @SCK-47 10 หลายเดือนก่อน +120

      Thats hot take

    • @gandalfgrey91
      @gandalfgrey91 10 หลายเดือนก่อน

      @@SCK-47 this comment section seems so divided, I wanted to share something that we could all agree with 🥹🙂

    • @vaisakh_km
      @vaisakh_km 10 หลายเดือนก่อน +41

      Wow, i never knew that...

  • @jasonea95
    @jasonea95 10 หลายเดือนก่อน +429

    That final comment Linus said is golden. I read a quote a few weeks ago that goes something along the lines of: "Good leaders don't manage people, they lead people. Good leaders manage things, not people."

    • @caasieu
      @caasieu 10 หลายเดือนก่อน +30

      That’s definitely not what he said

    • @_aurora60
      @_aurora60 10 หลายเดือนก่อน +12

      He just said he doesn’t, he never talked about what makes a good leader :)

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน +10

      @@caasieu Do you were a helmet while you wait for the short bus?

    • @caasieu
      @caasieu 10 หลายเดือนก่อน

      @@mytech6779 ???

    • @minhquando100
      @minhquando100 10 หลายเดือนก่อน +4

      I believe Rear Admiral Grace Hopper said that. She’s a brilliant programmer in her own right.

  • @Techmagus76
    @Techmagus76 10 หลายเดือนก่อน +265

    That is interesting using/allowing Rust in the code to avoid rusting with the code.

    • @paleopteryx
      @paleopteryx 10 หลายเดือนก่อน +18

      It's like drinking radioactive plutonium soup in order not to get poisoned

    • @tetsuoiiii
      @tetsuoiiii 10 หลายเดือนก่อน +12

      ​@@paleopteryxagree, Rust increases complexity and dependency, detrimental to longevity of any project.

    • @DenshinIshin
      @DenshinIshin 10 หลายเดือนก่อน +33

      @@tetsuoiiii while I do agree that it may increases dependencies if we're not careful, I fail to see how it increases the complexity. If anything, it's easier, and safer, to write many things in Rust compared to plain old C. Even with the most recent C standards, the complexity to write something has common and simple as something multithreaded is quite the hurdle and we're not in the 80s anymore, your toaster CPU probably has more than one core. If all it added was complexity and a ton of dependencies, nobody would bother with that language, let's be honest for a second.

    • @platin2148
      @platin2148 9 หลายเดือนก่อน +2

      It will probably create the fastest unmaintainable pieces of code in the kernel.

    • @DenshinIshin
      @DenshinIshin 9 หลายเดือนก่อน +5

      @@platin2148 oh noes, how sad that drivers written in rust won't be maintained by the time the hardware will be obsolete...

  • @friendlystonepeople
    @friendlystonepeople 10 หลายเดือนก่อน +155

    Glad to see him having a calm demeanor. I think he has really worked on his anger and interpersonal issues and it shows.
    Thank you for everything LT!

    • @dijoxx
      @dijoxx 10 หลายเดือนก่อน +24

      He caved in to the pressure. Probably was blackmailed.

    • @DanteKG.
      @DanteKG. 10 หลายเดือนก่อน +14

      What exactly happened? Havent really followed Torvalds's story, i remember that interview where he said fuck you nvidia but not much else

    • @trainerprecious1218
      @trainerprecious1218 10 หลายเดือนก่อน +19

      he's old now don’t have enough energy

    • @fahadahaf
      @fahadahaf 10 หลายเดือนก่อน +33

      @@dijoxxTake your meds, you're being paranoid. For most people with anger issues there comes a point in someone's life where they can blame the whole world and stay in denial, or accept their own faults and try to do better. Linus seems to have chosen the latter path, good for him. Hopefully you also get the help you so clearly need.

    • @dijoxx
      @dijoxx 10 หลายเดือนก่อน +9

      @@fahadahaf What exactly makes you think you know any better than I do to talk to me in such a condescending tone? I really don't appreciate your passive aggressive hubris. As for Linus, it is not about his anger but what he was fighting against.

  • @mnoxman
    @mnoxman 10 หลายเดือนก่อน +136

    It is nice to know that some people know their limits and are not scared of saying so in their position. Too many "Architects", "Technical Leads" or just wanton graduates in their first manager position would not be comfortable revealing that.

    • @RottenMuLoT
      @RottenMuLoT 10 หลายเดือนก่อน +11

      Acting otherwise leads to way worse results.

    • @social.elenakrittik
      @social.elenakrittik 10 หลายเดือนก่อน +2

      @@RottenMuLoT Far not everyone realizes that. I did not think of think too until reading this comment.

    • @PainterVierax
      @PainterVierax 8 หลายเดือนก่อน

      although he had some out of expertise takes in past conferences which were religiously received with barely no skepticism. glad he aged wiser.

  • @nezu_cc
    @nezu_cc 10 หลายเดือนก่อน +596

    Torvalds not being toxic towards a programming language other than C, wow

    • @vandelayindustries2971
      @vandelayindustries2971 10 หลายเดือนก่อน +112

      @@medved3027 why so salty bro

    • @coolcax99
      @coolcax99 10 หลายเดือนก่อน +84

      @@medved3027 they’re not though? His distaste of other languages is quite well documented

    • @RanEncounter
      @RanEncounter 10 หลายเดือนก่อน +14

      ​​@@coolcax99 Yeah but being toxic about that fact is the toxic part.

    • @r.t.5767
      @r.t.5767 10 หลายเดือนก่อน +16

      Pretty disappointing, isn't it?

    • @_aurora60
      @_aurora60 10 หลายเดือนก่อน +4

      @@r.t.5767YEAH Linus torvalds ranting is so funny to see

  • @PiDsPagePrototypes
    @PiDsPagePrototypes 10 หลายเดือนก่อน +41

    32 years ago, Linux was 'the free unix for nerds',... now, it's everywhere, running every type of process and application and hardware then can be imagined.

  • @StrangelyIronic
    @StrangelyIronic 10 หลายเดือนก่อน +138

    They irony in that the creator is happy to see change and is actively looking for how the kernel can evolve for the better while countless hardcore zealots are against the smallest bit of change, even if it's tested, stable, and ready.
    I don't know about rolling release being the future, but openSUSE Tumbleweed has been my OS if choice since release (and fedora/openSUSE before that) and I love using it. Last I heard Linus uses Fedora, which is one of the distros that is always moving forward. Kind of matches his approach for the kernel I suppose, albeit a bit too fast sometimes.

    • @FutureChaosTV
      @FutureChaosTV 10 หลายเดือนก่อน +1

      Tumbleweed is great and more stable to me than many distributions with a more static release/upgrade cycle.

    • @JerehmiaBoaz
      @JerehmiaBoaz 10 หลายเดือนก่อน +7

      The real irony is that Linus always blocked integration of C++ into the kernel and stuck with C despite all of its shortcomings, to now integrate C++'s successor Rust that has cut all ties with C to make the language faster and safer.

    • @Onkoe
      @Onkoe 10 หลายเดือนก่อน +20

      @@JerehmiaBoazto be fair, C++ is massive! i don’t think it would’ve been a good fit for the kernel
      having a fresh start in a new language is a good spark for change in the ecosystem ☺️

    • @phoneaccount6907
      @phoneaccount6907 10 หลายเดือนก่อน

      ​@@JerehmiaBoazsit was times when they tried to build kernel wit g++ and use cpp features somehow. They dropped it

    • @laindono5158
      @laindono5158 10 หลายเดือนก่อน

      I've been using desktop ArchLinux (rolling-release) for over a decade. It's kind of boring. You just occasionally update the system and that's it. Nothing interesting happens.

  • @VaishnavNegi
    @VaishnavNegi 6 หลายเดือนก่อน +2

    The beauty of Linux is summed up in the last bit of the interview. And we all owe Linus a great debt for his ocntributions for humanity. I strive to be what he is.

  • @Aras14
    @Aras14 10 หลายเดือนก่อน +274

    One big concern with rust is, that in the kernel unsafe is definitely necessary and unsafe rust is very hard due to optimisations. I don't see it in core parts for quite a while, maybe never.

    • @cheebadigga4092
      @cheebadigga4092 10 หลายเดือนก่อน +64

      there can always be a C layer beneath it, and some assembly will probably never go away either

    • @alanmckinnon6791
      @alanmckinnon6791 10 หลายเดือนก่อน +144

      I see a place for rust in drivers, especially where the manufacturer has a body write it. C quality there is often shocking so rust used there might assist in overall driver quality

    • @electric26
      @electric26 10 หลายเดือนก่อน +52

      To add, sure you're going to need unsafe Rust in a kernel BUT I'm sure a lot of that will be wrapped into safe abstractions. I'm certainly interested to see where this will go :)

    • @__Brandon__
      @__Brandon__ 10 หลายเดือนก่อน +45

      ​@@DeadManWalking-ym1oowhen is memory safety not valuable?

    • @toinfinityandyourmom2219
      @toinfinityandyourmom2219 10 หลายเดือนก่อน +33

      "unsafe rust is very hard due to optimisations" could anyone explain why this is?

  • @davidgillies620
    @davidgillies620 10 หลายเดือนก่อน +91

    Having eBPF support Rust is an important part of leveraging it into the mainline kernel.

    • @linkernick5379
      @linkernick5379 10 หลายเดือนก่อน +1

      Absolutely agree!

    • @sabitkondakc9147
      @sabitkondakc9147 10 หลายเดือนก่อน +1

      I'm still in two minds whether I should learn rust or not. It's too complicated.

    • @linkernick5379
      @linkernick5379 10 หลายเดือนก่อน

      @@sabitkondakc9147 I guess it is rather complex, not complicated. Its compiler solves the real problems known to be difficult (null safety, exceptions/return codes, iterator invalidating, async without GC), that's why it requires a time to grok.
      I haven't seen any person, who is unable to use Rust for his/her projects after the reading of Rust Book. So if you decided to learn Rust, make sure you've chosen the right book to read and got enough time to read it through!
      Good luck!

    • @davidgillies620
      @davidgillies620 10 หลายเดือนก่อน

      @@sabitkondakc9147 I'd put it at about the level of complexity of golang. It's a way, way smaller language than C++.

    • @blehbleh9283
      @blehbleh9283 10 หลายเดือนก่อน +12

      Learn Rust! Even if you hate Rust it makes you a better C/C++ dev

  • @MrHaggyy
    @MrHaggyy 9 หลายเดือนก่อน +13

    It's nice to see how Linus' perception changes. He was very focused on one particular style of C. Which is not a problem, it's a tool that is very suited to what he did.

    • @red13emerald
      @red13emerald 8 หลายเดือนก่อน +3

      I'm not sure it changed that much. I remember he vetoed any inclusion of C++ into the kernel, but his opinion on that has not changed (for good reasons), and the guidelines for the kernel's C code haven't changed significantly either.
      Rust brought some very unique advantages to the table, and did not seem to pose much danger to the technical merits of the kernel.

    • @MrHaggyy
      @MrHaggyy 8 หลายเดือนก่อน +1

      @@red13emerald A lot of it comes down to what skills the maintainer has. You don't want to maintain something in a language you're not familiar with the bugs it will produce, or slow down development by introducing new vectors of bugs you need to test against.
      Rust's way of handling memory and concurrency might be interesting as it can narrow down the scope a maintainer needs to be aware of.
      And that adapting to skills on top of educating people about what worked for you is something I like a lot.

  • @martinmaldonado9474
    @martinmaldonado9474 10 หลายเดือนก่อน +11

    One man with a vision on a mission! Thank you Mr. Torvalds!

  • @hakanakdag9491
    @hakanakdag9491 10 หลายเดือนก่อน +115

    I started to learn rust sometime ago but it is a quite difficult language. it has its own techniques which can never be found anywhere else. I feel like learning rust is a very long process. It takes more than one or two tutorials or even books to master it.

    • @JerehmiaBoaz
      @JerehmiaBoaz 10 หลายเดือนก่อน +20

      Most of Rust's techniques where invented earlier, Rust just calls them differently sometimes. If you know modern C++ you can learn Rust within a week or two. If you don't know either of them Rust will be quicker to learn because you aren't bothered by all the archaic and unsafe stuff C++ inherited from C (which also enables Rust to do some smart code optimizations and consistency checks that C++ can't).

    • @petkogeorgiev2103
      @petkogeorgiev2103 10 หลายเดือนก่อน +17

      As others have pointed out, if you know the newer C++ standards, then almost everything except for the borrow checker will feel familiar. It just has a lot less ways for you to "shoot yourself in the foot" compared to C++. I also feel that C++ is even more complex, and will take you way longer to master. Even C, which is a very simple language, will take you a long time. Programming languages are, in general, not easy.

    • @polycrystallinecandy
      @polycrystallinecandy 10 หลายเดือนก่อน +13

      Learn Haskell. After that Rust will feel rather pedestrian 🫠

    • @fahadahaf
      @fahadahaf 10 หลายเดือนก่อน +5

      @@polycrystallinecandyI love haskell but I would say Rust is more similar to OCaml than Haskell. Knowing both C++ and OCaml made it very easy for me to pick up rust, to the point I started to doubt why people kept repeating that rust is hard. It kinda made sense once I heard that a lot of the initial Rust compiler was written in OCaml.

    • @dub161
      @dub161 10 หลายเดือนก่อน +3

      @@fahadahaf pardon me but at what junction in your career path you used OCaml and for what particular use case?

  • @a0flj0
    @a0flj0 10 หลายเดือนก่อน +61

    Rust in the Linux kernel is a big boost for the language's marketing.

    • @andrewfellingham8388
      @andrewfellingham8388 10 หลายเดือนก่อน +9

      The boost will be for future developers who aren't as steeped in C best practices being able to contribute code without having a multitude of others checking their code for memory allocation and pointer issues. The borrow checker goes a long way in keeping this on rails, and the code that everyone should focus on is the unsafe blocks where it can go off the rails in bad ways. In this, I feel we lose nothing as contributors but gain much more in reliable tools that won't endanger our safety or our speed.

    • @a0flj0
      @a0flj0 10 หลายเดือนก่อน +9

      @@andrewfellingham8388 What you say is strictly kernel related. I meant that Rust being used in the kernel will make it a worthwhile language for many projects which would not consider Rust a possibility right now.

    • @jasonkhanlar9520
      @jasonkhanlar9520 10 หลายเดือนก่อน

      courtesy of financial terrorists funding as a payout to capitalize from destruction of one's 30+ years of effort to be undermined

  • @oserodal2702
    @oserodal2702 10 หลายเดือนก่อน +156

    This comment section is weird.

    • @babygorilla4233
      @babygorilla4233 10 หลายเดือนก่อน +18

      By far the strangest I've seen in a bit.

    • @screenoholic
      @screenoholic 10 หลายเดือนก่อน +8

      Plus one to that, I'm worried now what will happen to Linux after Linus 😢

    • @vaisakh_km
      @vaisakh_km 10 หลายเดือนก่อน +2

      ​@@screenoholici not at all worried about it.... if i need to point out a project without bus factor, the top candidate is linux..... forget bus, evem if a tsunami wipes a country, this project goes on...

    • @noxmore
      @noxmore 10 หลายเดือนก่อน +8

      My optimism is telling me that these people are just trolls who don't actually believe the stuff coming out of their keyboard (especially with the "since there are also already woke individuals in that community, I'm getting ready to switch to TempleOS. Who is with me?!"), but we can never know for sure.

    • @Element_Finland
      @Element_Finland 10 หลายเดือนก่อน +18

      I'm fucking baffled, I didn't know so many people like this exist. When did C become such a cult programmers genuinely started ignoring facts?

  • @alwayserik
    @alwayserik 10 หลายเดือนก่อน +135

    I think he's talking about a programming language called Rust. It's not about an old linux kernel having rust and corrosion.

    • @ardnys35
      @ardnys35 10 หลายเดือนก่อน +139

      are you sure? he said something about "lead" which is a metal. i would not throw that possibility away

    • @enderlord5347
      @enderlord5347 10 หลายเดือนก่อน +12

      @@ardnys35 Rust is specifically iron oxide, it has nothing to do with lead

    • @trainee5471
      @trainee5471 10 หลายเดือนก่อน +22

      @@enderlord5347 Maybe that's what he's talking about? That there's rust on linux kernel because he didn't coat it with lead?

    • @hoon_sol
      @hoon_sol 10 หลายเดือนก่อน

      @@enderlord5347:
      Way to not get the joke, you autist.

    • @bemo_10
      @bemo_10 10 หลายเดือนก่อน +13

      Nah, he's talking about Rust the game.

  • @xx-hc4sx
    @xx-hc4sx 6 หลายเดือนก่อน +8

    I worked as a Linux kernel dev for ~5 years but, honestly, I don't see that introducing Rust to Linux kernel was a good idea. The syntax and coding on Rust is a nightmare. Someone finally found a way to scare people who can easily code on C/asm combo. Yes, there are some security benefits, but, for some reason, coding on Rust doesn't bring any fun. It's like doing some annoying, disgusting chores.
    And I can't say Rust is "low-level" enough, but for sure it leans towards functional programming a lot which is a controversial concept, especially in Linux kernel.

    • @johndoe2-ns6tf
      @johndoe2-ns6tf 2 หลายเดือนก่อน +1

      @@RustIsWinning and how much code have you contributed to linux? let me guess: ZERO. You are a fraud.

  • @sam37io
    @sam37io 10 หลายเดือนก่อน +13

    Very excited for the future of Linux

  • @johnterpack3940
    @johnterpack3940 3 หลายเดือนก่อน +3

    The idea of 500 people each contributing one tiny thing that they think is needed is exactly how open source software should work. Unlike other projects where "thousands" of people are involved, but 95% of the code is from the same seven people.

  • @KevinInPhoenix
    @KevinInPhoenix 2 หลายเดือนก่อน +2

    The major advantage of C over Rust is that you can look at the C code and pretty much know what the CPU will be doing since the C code is so close to the machine code that the C compiler generates. The same cannot be said for Rust code.

    • @my_online_logs
      @my_online_logs 8 วันที่ผ่านมา

      nothing experience rust developers cant do, its easy. major advantage should be memory safety, because its give huge impact on the quality of the project. lmao

  • @adamleblanc5294
    @adamleblanc5294 7 หลายเดือนก่อน +3

    Damn, Linus has mellowed out.

  • @jaakkohintsala2597
    @jaakkohintsala2597 10 หลายเดือนก่อน +22

    where can I see the full interview?

    • @gordon7478
      @gordon7478 10 หลายเดือนก่อน

      th-cam.com/video/OvuEYtkOH88/w-d-xo.htmlsi=HE7mmTPWlWbfaui4

    • @snygg1993
      @snygg1993 10 หลายเดือนก่อน +18

      Full interview is named: "Keynote: Linus Torvalds, Creator of Linux & Git, in Conversation with Dirk Hohndel"

    • @jaakkohintsala2597
      @jaakkohintsala2597 10 หลายเดือนก่อน +6

      @@snygg1993 thank you!

  • @afterthesmash
    @afterthesmash 6 หลายเดือนก่อน +3

    I'm one of those people who submitted exactly one patch. It fixed a race condition in an ARM version of the kernel which caused the system clock not to progress until another 2^32 ticks (of around 16 microseconds each) brought it back to the overflow state, where usually it didn't screw up for a second time in a row.
    Our benchmark test suite did not cope well when 19 hours suddenly went missing from system time.
    I wasn't a kernel developer at the time, and you can imagine that tracking this bug down was a fair adventure into the unknown.

  • @jacobsoby3910
    @jacobsoby3910 10 หลายเดือนก่อน +228

    This should be titled: Linus adds rust to kernel to get youth involved in Linux. You could write the kernel in Fortran 77 if the compiler would output something useful.

    • @JediOfTheRepublic
      @JediOfTheRepublic 10 หลายเดือนก่อน +66

      "You could write the kernel in Fortran 77 if the compiler would output something useful." You could write a kernel in Brain Fuck by why would you? Such an dumb thing to say.

    • @rudyorre
      @rudyorre 10 หลายเดือนก่อน +49

      @@JediOfTheRepublicdamn so hateful. His point is that linus could stick to just C which he would be comfortable with, but instead added rust support to not stagnate

    • @kwzu
      @kwzu 10 หลายเดือนก่อน +9

      ​@@JediOfTheRepublicyou couldn't actually, kennels need to do more io than read from stdin and write to stdout

    • @Tobsson
      @Tobsson 10 หลายเดือนก่อน

      ​@@kwzudoesnt brain fuck manupulate memory? You just need to know the right instruction to do something else, no? No expert in that specific language. Maybe in/out is it's only capabilities.

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน +7

      ​@@rudyorre You don't "add rust support" if you want to use Rust to write a kernel. It just doesn't work like that, this isn't a userland python app, and the age of a language has nothing to do with the software stagnating. (esp since 99% of systems programmers know C even if it isn't their specialty.)

  • @slr150
    @slr150 10 หลายเดือนก่อน +213

    I 'm glad that they skipped C++ and waited for a more sensible langaguage to use alongside C.

    • @smallbluemachine
      @smallbluemachine 10 หลายเดือนก่อน

      No language can combat the buffoon using it.

    • @marcusaurelius6607
      @marcusaurelius6607 10 หลายเดือนก่อน +50

      This crap again

    • @Dr-Zed
      @Dr-Zed 10 หลายเดือนก่อน

      ​@@marcusaurelius6607 C++ brain rot at its finest.

    • @julesoscar8921
      @julesoscar8921 10 หลายเดือนก่อน +50

      100% a good call from Linus

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน

      ​@@marcusaurelius6607 But but but, the latest version of Rust looks so good when disingenuously compared to 30 year old non-standard 'C with classes' when used for high-level userland apps on a limited selection of hardware with no verification requirements.

  • @jeudimacabre
    @jeudimacabre 5 หลายเดือนก่อน +2

    that's why I like OpenBSD. A core of developpers writing code.

  • @alphazulu7488
    @alphazulu7488 10 หลายเดือนก่อน +13

    Linus + Richard = Genius of Free World Changing Software.

  • @curtvaughan2836
    @curtvaughan2836 2 หลายเดือนก่อน +1

    Rust developer of PopOS! Jeremy Soller's recent comments regarding his relationship with the Linux kernel developers is of extreme concern with the future of Linux.

  • @AdvancedSoul
    @AdvancedSoul 10 หลายเดือนก่อน +9

    For anyone talking about "unsafe Rust" with no background in software engineering... Any code deemed "unsafe" is built as a base for higher level code, therefore it is completely abstracted away. As an example: no one codes platform specific system calls to write "hello word" to an output device. It's abstracted away in e.g. libc, under write, printf, etc. Likewise, with good abstractions, "unsafe" Rust code should seldom show up in the Linux kernel sources.

    • @curious_banda
      @curious_banda 10 หลายเดือนก่อน +2

      "seldom" lmao grab the source and grep for it

  • @Labs51Research
    @Labs51Research 7 หลายเดือนก่อน +3

    it will be at least another 30 years before C is removed as KING!

  • @MarkStrus
    @MarkStrus 2 หลายเดือนก่อน +3

    How do you know a developer uses Rust? They’ll tell you.

  • @simonchurch.
    @simonchurch. 5 หลายเดือนก่อน

    32 years on one single thing, respect!!!

  • @sergeantseven4240
    @sergeantseven4240 10 หลายเดือนก่อน +16

    Rust is friendly and well documented but I still prefer to stick to C and C++. But I can see the advantages of having it.

    • @Mempler
      @Mempler 10 หลายเดือนก่อน +13

      Agreed.
      I like rust, but i prefer the simplicity and easeness of shooting myself into the foot

    • @sergeantseven4240
      @sergeantseven4240 10 หลายเดือนก่อน +8

      @@Mempler Only the most dangerous tasks can be the most rewarding if done correctly. Amatuers need not apply. 😀

    • @Mempler
      @Mempler 10 หลายเดือนก่อน

      @@sergeantseven4240 If only the world was as easy as "Lets just accept all languages as equal, one of which may complete the task better than others, depending on the task however".
      But nah, people be like "rUsT sUcKs, PhP sUcKs, C++ iS sHiT"
      "everything has their use case, it may not apply to you, but it does to someone else"
      literally same shit with feminising and racism, just cause people dont like the other kind of things

  • @TheRealMrGordons
    @TheRealMrGordons 10 หลายเดือนก่อน +2

    What an interesting man. I've never really dabbled with linux but the creator has always been a character.

  • @mrcxx8694
    @mrcxx8694 10 หลายเดือนก่อน +4

    I thought there was supposed to be nothing better than C?

  • @stcredzero
    @stcredzero 10 หลายเดือนก่อน +1

    Jeremy Irons should play Linus in the movie!

  • @minneelyyyy
    @minneelyyyy 10 หลายเดือนก่อน +5

    My main major concern with Rust is just that it's support for hardware isn't as good as even Linux. Just simply look at the list of Rust supported targets compared to the architectures Linux has code for in the kernel for an idea of what I mean. Even if it supports a lot of targets the only two that are in tier 1 support are x86 and arm. Could make Linux a lot harder to work with (even impossible if some major parts of the kernel are rewritten) when you are working with systems that aren't those two. Maybe gcc-rs will improve that.

    • @marusdod3685
      @marusdod3685 10 หลายเดือนก่อน +10

      that will be solved with the GCC port

    • @andrewfellingham8388
      @andrewfellingham8388 10 หลายเดือนก่อน +6

      This is a true issue with any low level tools that are introduced - but it is not a game-stopper - it just highlights a hurdle to overcome. Compatibility in Rust builds between LLVM and GCC are improving exponentially - which is making this all possible. And the GCC steering committee is on board and committed to Rust. So expect that any Rust build that uses GCC will support any hardware architecture supported by GCC all in due course. Especially as we see more kernel projects written in Rust. It won't happen fest - but it will happen.

    •  10 หลายเดือนก่อน +2

      You can send PRs to LLVM rather than worrying about it. Just like Esspresif did.

    • @minneelyyyy
      @minneelyyyy 10 หลายเดือนก่อน

      @ I don't think that just because llvm supports it necessarily means rust will. Rust has like 5 platforms in tier 1 support. And simply "supporting" doesnt even mean it's guaranteed to have good codegen or anything.

    •  10 หลายเดือนก่อน

      @@minneelyyyy whatever, you want something? Do it! Nobody is obligated to do the work for you.

  • @guxershmeg
    @guxershmeg 9 หลายเดือนก่อน +1

    The problem is disassembly by just looking into assembler dump when like some error occurred. In C it is obvious, because C is portable assembler by design. I don't know about Rust because write nothing but suppose it is difficult to do without special tools. Rust is not portable assembler so using it in low level code, in microcontrollers can be obstacle for bug fixing. If you send assembler crash report to Microsoft is it easier for them to find problem if module is written in Rust or in C?

    • @paulstelian97
      @paulstelian97 9 หลายเดือนก่อน +3

      Often there’s tools to point back to the code. C code built with -O2 may already be unreadable in the disassembly.

    • @Erik-cl5ff
      @Erik-cl5ff 6 หลายเดือนก่อน +2

      @@paulstelian97 Exactly.
      Some people are stuck in the 80s. They write suboptimal code because they are stuck in their own ways incapable of adapting to new tech.
      A human will never write a more optimal assembly than an O2 compiler. You can write an equivalent code if you REALLY try.
      You don't need to care about assembly when writing code. You care about how it works.

  • @spuckhafte
    @spuckhafte 10 หลายเดือนก่อน +15

    Kernel wasn't galvanized??

    • @khhnator
      @khhnator 10 หลายเดือนก่อน +2

      they forgot to repaint it, now is all oxydated

  • @MichaelLenz1
    @MichaelLenz1 10 หลายเดือนก่อน +2

    I bought a Rust Converter recently. Nice thing actually. Easy to apply on rust.

    • @volundrfrey896
      @volundrfrey896 10 หลายเดือนก่อน

      I think my car came with a rust converter from factory, although I think it work the opposite way from yours.

  • @NeuroScientician
    @NeuroScientician 10 หลายเดือนก่อน +10

    Does Rust still have the language policing politburo?

  • @bernardoramos1412
    @bernardoramos1412 10 หลายเดือนก่อน

    How about a link for the FULL INTERVIEW???

    • @bernardoramos1412
      @bernardoramos1412 10 หลายเดือนก่อน

      th-cam.com/video/OvuEYtkOH88/w-d-xo.htmlsi=7_qCJZ2yoPXLPdFZ

  • @Tugela60
    @Tugela60 10 หลายเดือนก่อน +28

    Well, if they don't keep it well oiled of course it is going to rust.

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน +3

      hmmmm crusty code

  • @anguinan
    @anguinan 10 หลายเดือนก่อน

    is this conference available somewhere?

  • @BudiSantoso-d9y
    @BudiSantoso-d9y 10 หลายเดือนก่อน +3

    Rust is just an option. Still, C is the best here.
    * While Java keep running on your pocket.

  • @kavorka8855
    @kavorka8855 9 หลายเดือนก่อน +1

    What Linus has been doing humanity is beyond comprehension

  • @gearbraniac
    @gearbraniac 9 หลายเดือนก่อน +5

    The king speak for himself. Huge respect to one of humanity greatest programmer

  • @clarkcipryk312
    @clarkcipryk312 10 หลายเดือนก่อน +1

    What is the succession planning for Linus?

  • @andysPARK
    @andysPARK 10 หลายเดือนก่อน +5

    First time I've heard him in an interview. Seems so chill :)

    • @karshPrime
      @karshPrime 10 หลายเดือนก่อน +6

      now look up the interview he gave on how it is like working on nvidia drivers))

    • @pekeninu
      @pekeninu 10 หลายเดือนก่อน

      @@karshPrime that's a classic! 🤣

  • @Alexithymiander
    @Alexithymiander 9 หลายเดือนก่อน

    Thank you Linus.

  • @Piineapple.
    @Piineapple. 10 หลายเดือนก่อน +25

    Linus going old but wise

    • @ChrisStavros
      @ChrisStavros 10 หลายเดือนก่อน +9

      It's weird how his appearance changed very little up until a few years ago and now with the inclusion of Rust, he has suddenly aged tremendously. Maybe he got vaccinated.

    • @Mempler
      @Mempler 10 หลายเดือนก่อน +5

      ​@@ChrisStavroslmao, the vaccine joke just made your post better

  • @cryptmind4202
    @cryptmind4202 10 หลายเดือนก่อน

    Where can I find this entire event?

  • @mikerodent3164
    @mikerodent3164 10 หลายเดือนก่อน +8

    Somebody out for a fun challenge ought to start writing a completely new kernel ... written 100% in Rust from the outset. kernel oopses and kernel panics do happen.

    • @ChrisD__
      @ChrisD__ 10 หลายเดือนก่อน +5

      I'm sure someone is already deep in working on that

    • @computerfan1079
      @computerfan1079 10 หลายเดือนก่อน +16

      That's exactly what Redox OS is doing. I think it is a very cool project

    • @mikerodent3164
      @mikerodent3164 10 หลายเดือนก่อน

      @@computerfan1079 Thanks for the heads up. I'm amazed.

    • @karmatraining
      @karmatraining 10 หลายเดือนก่อน

      But how would you do that without unsafe

    • @ME0WMERE
      @ME0WMERE 10 หลายเดือนก่อน +11

      @@karmatraining You wouldn't. Unsafe rust code isn't bad, it's just that its use should be minimised. In the case of a kernel there would be a lot of unsafe code (obviously), but that's not a bad thing!

  • @canmertinyo
    @canmertinyo 10 หลายเดือนก่อน

    full video?

  • @musashi4856
    @musashi4856 10 หลายเดือนก่อน +6

    Why Rust?

  • @edwardmacnab354
    @edwardmacnab354 8 หลายเดือนก่อน +1

    he's being diplomatic

  • @CocoNot.
    @CocoNot. 10 หลายเดือนก่อน +7

    Can we get JavaScript now 👀

  • @hewhointheearthlydomainsee1272
    @hewhointheearthlydomainsee1272 10 หลายเดือนก่อน +2

    Its about longevity. Keeping projects alive even if the core team disappears.
    If you have an opinion, then you do your own thing, and if other people seem be doing similar bits and pieces of that thing, a possibility of cross collaboration.
    Everyone going their own way, but sometimes people cross paths.
    Like I would really like to make mathematical model of a computer system and its software layers. Then have code automation use it to generate code.
    I would love a system design based on models and generation. Like what is a programming language as a model, what is anything as a model. And then how can I get a computer to speak fluently in model/generation paradigm.
    Instead of programming, you set about specifying and designing the elements and interactions. Then a universe of possible candidates could emerge from that specification.
    You take a step back from the technicals and set about modelling what it all is, and engineer the system that would automatically implement it.
    So you would specify what a Von Neumann is or other, but you be as treat it as though the parts had no names, just a, b, c.
    The system might operate abstractly, humans attribute meaning.
    There would be no human pilot driving the code and binary. Engineers create the rules to translate the model to binary.
    The humans define the models. The system instantiates it. Humans define the purposes. The system constructs applications from the model and the purpose.
    So there might be different paradigm of computer system construction.
    One involves generations of engineers and programmers working on problems they can, as they can, and then you have much and todays systems.
    Another would be taking a step back, and modelling everything, then engineering the system to instantiate and generate systems and applications in one fell swoop.
    Model > Translation > Machine and Purpose > Purposing > Engine
    Something like that. You define the model or the purpose, and a translation / purposing system sends it to the machine / engine.

  • @steve_seguin
    @steve_seguin 10 หลายเดือนก่อน +16

    I am not liking Rust, myself, but it does seem like many love it. To me it just fragments Linux even more, with more app stores, more dependencies, more compliers, and another language to learn. It's interesting to see how cautious Linus is when speaking about it though; I suspect he sees how beloved Rust is to many developers these days. My opinion means nothing though, but I'm hoping Linux can eventually sort things out once and for all -- it's still a mess to work with. It's improving in some ways, but in many others it's just changing -- side stepping into new problems.

    • @Mempler
      @Mempler 10 หลายเดือนก่อน +4

      Programming languages dont fragment linux.
      The libraries and binary developers do.
      usually everything however supports a C compatibility layer, thus you dont usually need to learn the underlying language

    • @MarsofAritia
      @MarsofAritia 10 หลายเดือนก่อน +3

      there's a reason rust devotees are crazy

  • @ajaypatro1554
    @ajaypatro1554 10 หลายเดือนก่อน +1

    we can take time for rust now then

  • @jagagemo8141
    @jagagemo8141 10 หลายเดือนก่อน +61

    So glad there's now a tool for reliable memory safety.
    Always good to have options.

    • @chillappreciator885
      @chillappreciator885 10 หลายเดือนก่อน +7

      not always

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน +13

      Said like an app/web coder. Things work quite different when up against the metal, there are few safety pads that can mitigate sloppy code at that level and there is real possibility they will get in the way and cause obscuration and occlution. Modern C++ actually has the most useful memory safety features for bare metal development. (Rust folk like to compare new Rust to 30 year old non-standard C with classes; Standardized C++ from the last 10 years is a very different beast.)
      Eg. a drone controller written in rust would be written entirely in unsafe mode assuming you could even get a rust compiler for the real-time hardware, step it up to a safety critical device and you need to worry about providing verification of the compiler and all of the libraries used which is no small task, Fortran math libraries are still used in new major multi-million dollar systems because of this.

    • @chillappreciator885
      @chillappreciator885 10 หลายเดือนก่อน

      @@mytech6779 I think even with bare metal Rust could deallocate variables automaticly. But good point

    • @theondono
      @theondono 10 หลายเดือนก่อน

      ⁠​⁠@@mytech6779 The obvious problem with C++ is that there’s nothing but manual labor preventing you from going back to old C++, and there’s still lots of people in the C++ community who not only write unsound and incorrect code, they’ll start a flamewar whenever someone points out their mistakes.
      As for Rust requiring unsafe everywhere in bare metal, that’s not how unsafe works. You can wrap unsafe blocks with safe interfaces, and that’s how everyone is building their libraries.
      I’ve written firmware with critical timing in Rust without using unsafe, because it’s buried in pre-tested libraries.

    • @paladynee
      @paladynee 10 หลายเดือนก่อน +11

      memory safety had already existed but by using garbage collectors. rust introduced memory safety while being nearly as fast as C without using GC. so they decided why not

  • @mikerodent3164
    @mikerodent3164 10 หลายเดือนก่อน +10

    It's clear from here and elsewhere that the majority of people who pontificate (in a negative vein) about Rust in YT comments know nothing about it. I suspect most of them have dabbled for a couple of weeks (should that be a couple of years? 😂), become totally frustrated with the mysteries of borrowing-checking and lifetimes, and decided, in their wisdom, "Nah, if it's too hard for me it can only be ruuuuuubbish". Linus doesn't seem to share that view.

    • @raidensama1511
      @raidensama1511 10 หลายเดือนก่อน +6

      And there are the “unsafe” naysayers who, tell us that they don’t know Rust without telling us that they don’t know Rust.

  • @muuraaja-e5k
    @muuraaja-e5k 10 หลายเดือนก่อน +4

    Kernel is rusting?

  • @BobWulff
    @BobWulff 10 หลายเดือนก่อน

    BMG. My brother got 12 CDs and my parents freaked out

  • @another_coffee_cat
    @another_coffee_cat 10 หลายเดือนก่อน +16

    By looking at the heads of people you can tell the average age from the attendants to the talk.

    • @smallbluemachine
      @smallbluemachine 10 หลายเดือนก่อน +41

      Once all the baldies have retired we can finally rewrite the kernel in Javascript, the way God intended.

    • @AwesomeAdmirak
      @AwesomeAdmirak 10 หลายเดือนก่อน +10

      @@smallbluemachine Glad you didn't choose Typescript; based on this comment section, the kernel community thinks safety is a crutch.

  • @NishantDwivedi179
    @NishantDwivedi179 10 หลายเดือนก่อน +1

    for "linux" Hollywood movie "Steve Carell" is the best

  • @doga_sezgin
    @doga_sezgin 10 หลายเดือนก่อน +34

    I think Rust is a very complicated language and they're making it even more complicated by adding so many keywords and concepts into it. Even though I'm a C++ programmer, I don't like the current state of C++ either and I'm glad it's not used in Kernel. In my opinion none of the programming languages seem to have the simplicity and elegance of C.

    • @realsemig
      @realsemig 10 หลายเดือนก่อน +9

      javascript

    • @realsemig
      @realsemig 10 หลายเดือนก่อน +2

      xD

    • @theultimateevil3430
      @theultimateevil3430 10 หลายเดือนก่อน +13

      Bruh Rust is much easier than C++, at least it explicitly teaches you things that you also use in C++ but without shooting your leg off

    • @karmatraining
      @karmatraining 10 หลายเดือนก่อน +7

      C++ is basically turning into C# but with manual memory management these days, there is SO MUCH scar tissue in the language spec

    • @rationalityfirst
      @rationalityfirst 10 หลายเดือนก่อน +1

      Zig

  • @ricko13
    @ricko13 10 หลายเดือนก่อน

    Linus reminds me of Michael Scott (from the office)

  • @bartlx
    @bartlx 10 หลายเดือนก่อน +46

    I took a good look at Rust and saw absolutely no reason why I should quit programming in (modern!) C++ (and I only use C when working with some 3rd party API's).
    From experience, I'm 52 now, I'd say it's just every now and then new people need new heroes. I don't really follow that.

    • @smallbluemachine
      @smallbluemachine 10 หลายเดือนก่อน +20

      Same. Careful what you say around these Rust people or you’ll be sentenced for heresy.

    • @__Brandon__
      @__Brandon__ 10 หลายเดือนก่อน +21

      To be fair, C++ would benefit from a stricter compiler. And perhaps some defaults should be changed. I'd be happy if everything was const in C++ and you had to make it mutable just like in rust. You could always have a compiler flag to go back to the C-style. Having const as a default give the compiler a lot more power and prevents bugs.

    • @AM-yk5yd
      @AM-yk5yd 10 หลายเดือนก่อน +24

      Some people don't like buffer overflows, 0 days leading to remote code execution and all fun stuff. For some reason despite claims that c++ can be safe it never is. As long as it's possible to make release build without asan and iteratros invalidation check your opinion doesn't worth anything. I trust CVEs rather than programmer who came up with a novel idea "write code without bugs". I guess Google report how safe languages are indeed safe is too complicated for experienced c++ folks

    • @mytech6779
      @mytech6779 10 หลายเดือนก่อน +5

      ​@@AM-yk5yd Sure, if you wan't to pretend that you do not understand the difference between 30 year old non-standard hacks, and an official style guideline for up to date standard created by an international ISO standards committee. Might as well point out the limited capacity of the 5" floppy drive on an Apple 2e in discussions about iPads.

    • @mstarOnYT
      @mstarOnYT 10 หลายเดือนก่อน

      @@mytech6779 Considering that the NSA recommends against using C and C++ in favor of memory safe languages (examples stated are C#, Go, Java, Ruby, Rust and Swift), saying that C++ is memory safe is an interesting choice.
      Source: www.nsa.gov/Press-Room/News-Highlights/Article/Article/3215760/nsa-releases-guidance-on-how-to-protect-against-software-memory-safety-issues/

  • @RahiDelvi
    @RahiDelvi 9 หลายเดือนก่อน

    Humble

  • @Simon-xi8tb
    @Simon-xi8tb 10 หลายเดือนก่อน +35

    It would make more sense to use Zig in the kernel, because it has the best C interop.

    • @antonf.9278
      @antonf.9278 10 หลายเดือนก่อน +12

      Shouldn't it be C++ by that metric?

    • @ivanmoren3643
      @ivanmoren3643 10 หลายเดือนก่อน +8

      Coming from C something I don't see people talk about is zig's goal to keep zig code readable over time. Rust macros make it very flexible by bending and extending the language syntax (right?). Zig seems more akin to Lua - keeping the language simple. And using comptime to provide flexibility rather than language "extension".

    • @mileselam641
      @mileselam641 10 หลายเดือนก่อน +25

      Zig is simpler, but it lacks memory safety in many of the same ways that C does. Rust has a steeper learning curve, but it removes entire categories of memory corruption at compile time through the borrow checker. Rust can't completely prevent memory leaks, but it basically eliminates double free, dangling pointers, buffer overruns and underruns, race conditions across threads, and other flaws that commonly lead to security vulnerabilities. Zig is better than C in this regard, but it is a far cry from Rust.

    • @Kuratius
      @Kuratius 10 หลายเดือนก่อน

      ​​@@antonf.9278C++'s criticisms are things that don't apply to Zig for the most part. Similarly, many of Rust's criticisms also apply to C++, but don't apply to Zig.

    • @Wyvernnnn
      @Wyvernnnn 10 หลายเดือนก่อน +4

      C interop is excellent in Rust. It makes no sense to use Zig

  • @BenVanCamp
    @BenVanCamp หลายเดือนก่อน

    “Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal: but lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal: for where your treasure is, there will your heart be also.”
    ‭‭Matthew‬ ‭6‬:‭19‬-‭21‬ ‭KJV‬‬

  • @bravo________87372
    @bravo________87372 10 หลายเดือนก่อน +66

    Rust would be great if it wasn't managed by the rust foundation

    • @joestevenson5568
      @joestevenson5568 10 หลายเดือนก่อน +28

      Well it's open source so doesn't really matter.

    • @gusslx
      @gusslx 10 หลายเดือนก่อน +12

      Care to elaborate?

    • @mduckernz
      @mduckernz 10 หลายเดือนก่อน +16

      @@gusslx”they won’t let me say slurs, so they’re horrible bad no good people” (summary)

    • @jbca
      @jbca 10 หลายเดือนก่อน +15

      The rust foundation is dysfunctional, but have you seen the C and C++ standards committees? They’re also horribly dysfunctional and have derailed and delayed and impaired so many types of progress, and condoned a lot of bad actors.
      Human organizations are often bad. Judge the product on its own merits.

  • @rynoxo
    @rynoxo 8 หลายเดือนก่อน +12

    Linus deserves a Noble Peace Prize. Because he resolves conflicts.

    • @downey2294
      @downey2294 7 หลายเดือนก่อน

      lol nice

  • @lashlarue7924
    @lashlarue7924 10 หลายเดือนก่อน +7

    I don't know why anyone would just let their kernels rust just to avoid forgetting about it. If they were hoping to be safe in their memory of the kernel they could just take a picture of it or reseed it or something. Doesn't sound very safe at all if you ask me.

    • @lashlarue7924
      @lashlarue7924 3 หลายเดือนก่อน

      @@RustIsWinning I remember all my kernels when I examine the feces after I eat of the corn. But it is only safe to examine them visually - one must never perform a tactile inspection of the kernels, no matter how much one hopes to preserve their memory. Most frequently I am forgetting the shape of the kernels after several hours. So many kernels, so little time!

    • @lashlarue7924
      @lashlarue7924 3 หลายเดือนก่อน

      @@RustIsWinning Yes, that's correct! I am a 🤖. I know nothing at all about comptooters. How can I assist?

    • @lashlarue7924
      @lashlarue7924 3 หลายเดือนก่อน

      @@RustIsWinning public class Meme
      {
      private Joke joke;
      public void setJoke(Joke newJoke)
      {
      this.joke = newJoke;
      }
      }

  • @rolygutierrez6123
    @rolygutierrez6123 7 หลายเดือนก่อน

    Linus una gran hombre que dio su talento al mundo. Que seria de nosotros y la tecnología.

  • @animuspexus
    @animuspexus 9 หลายเดือนก่อน +5

    better use modern c++ in linux than rust

    • @Sierra410
      @Sierra410 2 หลายเดือนก่อน +1

      Rust isn't picked for having "high level" features like classes/structs or operators overloading. It's picked because of its complex type system which, at compile time, sanity checks the whole code and guarantees proper memory management and access control, preventing memory corruption and data races. You know, things even modern C++ _doesn't_ have.

    • @animuspexus
      @animuspexus 2 หลายเดือนก่อน

      @@Sierra410 you simply do not know c++, saying "it's unsafe". c++ has smart pointers, const specifiers, referencing and stack data movement.
      i came to c++ from d and go, and i've tried rust. and i say: rust isn't worth it!

    • @animuspexus
      @animuspexus 2 หลายเดือนก่อน

      @@Sierra410 c++ does have smart pointers, const references and variable movements :)

    • @Sierra410
      @Sierra410 2 หลายเดือนก่อน

      ​@@animuspexus and? It still doesn't _guarantee_ anything. You can use a const reference in one part of the code, but forger to do the same in a different one. Or you might use a value after it's been moved. Or you might overlook the fact that a function might get called from a different thread, resulting in a race condition. The compiler wouldn't even warn you about bugs like that. Rust, meanwhile, wouldn't even compile. That's the whole point of using it.
      "Just don't code bugs" approach doesn't work any better with C++, than it does with C. It's probably even worse, considering the "surface area" of all the features it has and the potential for their misuse.

    • @animuspexus
      @animuspexus 2 หลายเดือนก่อน

      @@Sierra410 dude. it looks like you don't even know what you are talking about. and worst of all, you wont even try programming c++, because you afraid what it might be not as bad as you think.
      rust - religion - indeed

  • @attaboyabhi
    @attaboyabhi 9 หลายเดือนก่อน

    he calls himself a technical lead! sweet !

  • @chenlim2165
    @chenlim2165 10 หลายเดือนก่อน +5

    Whoho, Linus mellowing out?

    • @khhnator
      @khhnator 10 หลายเดือนก่อน

      he was always reasonable as long you not doing stupid stuff

  • @Alberto_Cavalcante
    @Alberto_Cavalcante 10 หลายเดือนก่อน +2

    Interesting

  • @nathanruben3372
    @nathanruben3372 8 หลายเดือนก่อน +5

    Rust is not ISO or ANSI standart. This is not good. Whatever the licence, some group controls that. I do not use a language in such a critical system application which is not totally independent and potentially backed by different groups. Nobody owns C/C++. It has standarts. Anybody can write a compiler that conforms those standarts.

    • @LegendLength
      @LegendLength 8 หลายเดือนก่อน

      I agree but C standards are a joke and the whole language is a joke. Rust doesn't sound great to me either from the little i've heard of it.

  • @gilbertsenyonjo963
    @gilbertsenyonjo963 10 หลายเดือนก่อน

    I think TH-cam should have a love button ❤

  • @rationalityfirst
    @rationalityfirst 10 หลายเดือนก่อน +5

    I would wait for stable Zig.

  • @SCK-47
    @SCK-47 10 หลายเดือนก่อน +2

    Should I learn Zig or Rust?

    • @sameug
      @sameug 10 หลายเดือนก่อน +7

      Kotlin

    • @kullimoney365
      @kullimoney365 10 หลายเดือนก่อน

      Kotlin was my first learned programming language it good , but its slow to load up it has to fetch all these jvm things i feel like it got even slower so i dropped the language , i just want to develop things on a low spec machine,
      rust is nice too not slow to load up and write actual code but it compilation takes a while when fetching
      just go rust if youre developing on low spec machine
      @@sameug

    • @kullimoney365
      @kullimoney365 10 หลายเดือนก่อน +2

      Id also throw in a interputed like lang with good lsp/ide support like python for quick short program

    • @aevus
      @aevus 10 หลายเดือนก่อน +10

      try both!

    • @aarholodian
      @aarholodian 10 หลายเดือนก่อน +11

      If you have to ask then probably neither. Learn fundamentals of computer science first

  • @davidprock904
    @davidprock904 10 หลายเดือนก่อน +13

    What about Zig into the kernel

    • @nyx211
      @nyx211 10 หลายเดือนก่อน +7

      It hasn't even hit its 1.0 milestone yet.

    • @baxiry.
      @baxiry. 10 หลายเดือนก่อน +4

      the logical choice

    • @vyyr
      @vyyr 10 หลายเดือนก่อน +4

      zig makes much more sense than rust. But its way too early.

    • @DenshinIshin
      @DenshinIshin 10 หลายเดือนก่อน +1

      @@vyyr zig makes a lot of sense for the whole kernel, but rust does makes sense for the things it's used for. Making safe drivers. Maybe later.

  • @mrhassell
    @mrhassell 7 หลายเดือนก่อน

    17 Sep 1991 initial Linux kernel release. 33 years down the road, it developed RUST.

  • @fifty6737
    @fifty6737 10 หลายเดือนก่อน +51

    zig is a better fit to improve the C parts of the linux kernel

    • @j-r-hill
      @j-r-hill 10 หลายเดือนก่อน +26

      It will be when it's 1.0

    • @RenderingUser
      @RenderingUser 10 หลายเดือนก่อน +20

      It's not fit yet

    • @bene7042
      @bene7042 10 หลายเดือนก่อน +9

      lol no

    • @sonOfLiberty100
      @sonOfLiberty100 10 หลายเดือนก่อน +19

      how about JavasScript :D

    • @RenderingUser
      @RenderingUser 10 หลายเดือนก่อน +14

      @@sonOfLiberty100 💀

  • @skylazart
    @skylazart 9 หลายเดือนก่อน

    In another word: the enterprise pressure for rust has been too big to keep it out… maybe one day it’s gonna be a thing in the kernel. For him personally. On the flip side, for
    Enterprises out there, OMG rust is going to cure all security bugs in Linux…

  • @vincentfernandez7328
    @vincentfernandez7328 3 หลายเดือนก่อน +3

    Linux could be a millionaire like Bill Gates, but he decided to have just a good/normal income, and share with the world Linux. Thank you so much.

  • @destroya3303
    @destroya3303 10 หลายเดือนก่อน

    Image Linus as your CR.

  • @hockeyhurd
    @hockeyhurd 10 หลายเดือนก่อน +5

    “Always willing to try something new” as long as it’s not c++ (god forbid the horror)

    • @shinobuoshino5066
      @shinobuoshino5066 9 หลายเดือนก่อน +1

      Yeah forbid the horror of reading the GCC manual for 5 minutes straight to realize that it's only two flags to disable exceptions, standard library and rtti... And 4 minutes left to think about whether C++ is complicated or you're simply too retarded not to use every feature under the sun.

    • @Zmej420BlazeIt
      @Zmej420BlazeIt 8 หลายเดือนก่อน

      oh he did try c++. he said he tried it in 1992 for the kernel.

    • @shinobuoshino5066
      @shinobuoshino5066 8 หลายเดือนก่อน

      @@Zmej420BlazeIt C++ in 1992 is incomparable to C++11 which he didn't even look at, which by the way, was already better than current Rust. He's a moron, and so are you for even bringing this up, thinking it's relevant. If everyone was as braindead as you, we'd still be in stone age because nothing would be tried more than once.

  • @kolkoki
    @kolkoki 10 หลายเดือนก่อน

    LT is getting old physically (definitely not mentally), and i relinquish for the day he will have to step down for health reason. Long live LT.