Torvalds Speaks: Rust's Impact on the Linux Kernel

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 1,1 тис.

  • @ipsb
    @ipsb Рік тому +1438

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

    • @Thornik2012
      @Thornik2012 Рік тому

      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 Рік тому +121

      ​@tecTituswhy elon?

    • @_Holy_Lance_
      @_Holy_Lance_ Рік тому +7

      And high IQ

    • @absobel
      @absobel Рік тому +15

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

    • @amjadiqbal478
      @amjadiqbal478 Рік тому

      Wow 😮.

  • @MrPetzold123
    @MrPetzold123 Рік тому +1224

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

    • @Thornik2012
      @Thornik2012 Рік тому +25

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

    • @miroslavstevic2036
      @miroslavstevic2036 Рік тому +111

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

    • @MrPetzold123
      @MrPetzold123 Рік тому +151

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

    • @Alexagrigorieff
      @Alexagrigorieff Рік тому +74

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

    • @stevecarter8810
      @stevecarter8810 Рік тому +14

      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

  • @jb31842
    @jb31842 Рік тому +778

    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 Рік тому +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 Рік тому

      @@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.

    • @nullptr_yt
      @nullptr_yt Рік тому +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 Рік тому +1

      @@nullptr_yt 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?

    • @nullptr_yt
      @nullptr_yt Рік тому +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++.

  • @kavehtehrani
    @kavehtehrani Рік тому +447

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

    • @Thornik2012
      @Thornik2012 Рік тому +22

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

    • @kavehtehrani
      @kavehtehrani Рік тому +13

      @@Thornik2012 CS = Computer Science

    • @rcatv7750
      @rcatv7750 Рік тому +4

      @@kavehtehrani I think Thornik2012 was speaking in jest.

    • @onkeljudith
      @onkeljudith Рік тому +1

      Obviously cyber xxx

    • @ivanleon6164
      @ivanleon6164 Рік тому

      a monster

  • @thiagoalves5404
    @thiagoalves5404 Рік тому +578

    I like how the host measures time through kernel releases

    • @FlrQue
      @FlrQue Рік тому +60

      This is what I call the Unix Epoch

    • @imorvit
      @imorvit Рік тому +24

      the Linux Epoch kek

    • @imorvit
      @imorvit Рік тому +4

      ​@@FlrQuedamnit you got to it first

    • @phoneaccount6907
      @phoneaccount6907 Рік тому +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 11 місяців тому +4

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

  • @pronounjow
    @pronounjow Рік тому +137

    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 Рік тому +1

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

    • @devnull1013
      @devnull1013 11 місяців тому +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 10 місяців тому +1

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

    • @youtubeacc666
      @youtubeacc666 7 місяців тому +2

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

    • @raulsaavedra709
      @raulsaavedra709 4 місяці тому

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

  • @unalive_me
    @unalive_me Рік тому +1006

    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 Рік тому +76

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

    • @shpluk
      @shpluk Рік тому +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 Рік тому +8

      Growing senile sounds about right.

    • @BenGras
      @BenGras Рік тому +2

      @@shplukthanks buddy

    • @MrChelovek68
      @MrChelovek68 Рік тому +6

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

  • @jasonea95
    @jasonea95 Рік тому +433

    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 Рік тому +30

      That’s definitely not what he said

    • @_aurora60
      @_aurora60 Рік тому +12

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

    • @mytech6779
      @mytech6779 Рік тому +10

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

    • @caasieu
      @caasieu Рік тому

      @@mytech6779 ???

    • @minhquando100
      @minhquando100 Рік тому +4

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

  • @gandalfgrey91
    @gandalfgrey91 Рік тому +1585

    Rust is definitely a programming language.

    • @RenderingUser
      @RenderingUser Рік тому +138

      Omg you're right 🤯

    • @igorordecha
      @igorordecha Рік тому +152

      never thought about it that way

    • @SCK-47
      @SCK-47 Рік тому +120

      Thats hot take

    • @gandalfgrey91
      @gandalfgrey91 Рік тому

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

    • @vaisakh_km
      @vaisakh_km Рік тому +41

      Wow, i never knew that...

  • @friendlystonepeople
    @friendlystonepeople Рік тому +156

    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 Рік тому +24

      He caved in to the pressure. Probably was blackmailed.

    • @DanteKG.
      @DanteKG. Рік тому +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 Рік тому +19

      he's old now don’t have enough energy

    • @fahadahaf
      @fahadahaf Рік тому +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

      @@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 Рік тому +135

    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 Рік тому +11

      Acting otherwise leads to way worse results.

    • @social.elenakrittik
      @social.elenakrittik Рік тому +2

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

    • @PainterVierax
      @PainterVierax 10 місяців тому

      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 Рік тому +600

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

    • @vandelayindustries2971
      @vandelayindustries2971 Рік тому +113

      @@medved3027 why so salty bro

    • @coolcax99
      @coolcax99 Рік тому +86

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

    • @RanEncounter
      @RanEncounter Рік тому +14

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

    • @r.t.5767
      @r.t.5767 Рік тому +16

      Pretty disappointing, isn't it?

    • @_aurora60
      @_aurora60 Рік тому +5

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

  • @Techmagus76
    @Techmagus76 Рік тому +267

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

    • @paleopteryx
      @paleopteryx Рік тому +18

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

    • @tetsuoiiii
      @tetsuoiiii Рік тому +12

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

    • @DenshinIshin
      @DenshinIshin Рік тому +34

      @@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 11 місяців тому +2

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

    • @DenshinIshin
      @DenshinIshin 11 місяців тому +5

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

  • @PiDsPagePrototypes
    @PiDsPagePrototypes Рік тому +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 Рік тому +141

    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 Рік тому +1

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

    • @JerehmiaBoaz
      @JerehmiaBoaz Рік тому +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 Рік тому +21

      @@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 Рік тому

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

    • @laindono5158
      @laindono5158 Рік тому

      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 8 місяців тому +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.

  • @martinmaldonado9474
    @martinmaldonado9474 Рік тому +11

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

  • @Aras14
    @Aras14 Рік тому +276

    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 Рік тому +64

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

    • @alanmckinnon6791
      @alanmckinnon6791 Рік тому +145

      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 Рік тому +53

      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__ Рік тому +45

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

    • @samuelfalk8438
      @samuelfalk8438 Рік тому +43

      ​@@toinfinityandyourmom2219 Due to Rust's constraints/guarantees, the compiler can do a lot of optimizations that a C/C++ compiler cannot. However, this means that ub can be more pronounced and cause weirder issues if it occours.

  • @MrHaggyy
    @MrHaggyy 11 місяців тому +14

    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 11 місяців тому +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 11 місяців тому +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.

  • @hakanakdag9491
    @hakanakdag9491 Рік тому +118

    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 Рік тому +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 Рік тому +18

      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 Рік тому +14

      Learn Haskell. After that Rust will feel rather pedestrian 🫠

    • @fahadahaf
      @fahadahaf Рік тому +6

      @@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 Рік тому +3

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

  • @jaakkohintsala2597
    @jaakkohintsala2597 Рік тому +22

    where can I see the full interview?

    • @gordon7478
      @gordon7478 Рік тому

      ua-cam.com/video/OvuEYtkOH88/v-deo.htmlsi=HE7mmTPWlWbfaui4

    • @snygg1993
      @snygg1993 Рік тому +19

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

    • @jaakkohintsala2597
      @jaakkohintsala2597 Рік тому +6

      @@snygg1993 thank you!

  • @davidgillies620
    @davidgillies620 Рік тому +92

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

    • @linkernick5379
      @linkernick5379 Рік тому +1

      Absolutely agree!

    • @sabitkondakc9147
      @sabitkondakc9147 Рік тому +1

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

    • @linkernick5379
      @linkernick5379 Рік тому

      @@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 Рік тому

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

    • @blehbleh9283
      @blehbleh9283 Рік тому +12

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

  • @afterthesmash
    @afterthesmash 8 місяців тому +4

    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.

  • @a0flj0
    @a0flj0 Рік тому +61

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

    • @andrewfellingham8388
      @andrewfellingham8388 Рік тому +10

      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 Рік тому +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 Рік тому

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

  • @sam37io
    @sam37io Рік тому +13

    Very excited for the future of Linux

  • @KevinInPhoenix
    @KevinInPhoenix 4 місяці тому +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 2 місяці тому

      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

  • @johnterpack3940
    @johnterpack3940 5 місяців тому +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.

  • @alwayserik
    @alwayserik Рік тому +137

    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 Рік тому +140

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

    • @enderlord5347
      @enderlord5347 Рік тому +12

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

    • @trainee5471
      @trainee5471 Рік тому +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 Рік тому

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

    • @bemo_10
      @bemo_10 Рік тому +13

      Nah, he's talking about Rust the game.

  • @oserodal2702
    @oserodal2702 Рік тому +158

    This comment section is weird.

    • @babygorilla4233
      @babygorilla4233 Рік тому +17

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

    • @screenoholic
      @screenoholic Рік тому +9

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

    • @vaisakh_km
      @vaisakh_km Рік тому +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 Рік тому +7

      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 Рік тому +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?

  • @adamleblanc5294
    @adamleblanc5294 9 місяців тому +3

    Damn, Linus has mellowed out.

  • @jacobsoby3910
    @jacobsoby3910 Рік тому +227

    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 Рік тому +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 Рік тому +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 Рік тому +9

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

    • @Tobsson
      @Tobsson Рік тому

      ​@@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 Рік тому +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.)

  • @guxershmeg
    @guxershmeg 11 місяців тому +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 11 місяців тому +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 8 місяців тому +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.

  • @xx-hc4sx
    @xx-hc4sx 9 місяців тому +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 4 місяці тому +1

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

  • @mrcxx8694
    @mrcxx8694 Рік тому +4

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

  • @spuckhafte
    @spuckhafte Рік тому +15

    Kernel wasn't galvanized??

    • @khhnator
      @khhnator Рік тому +2

      they forgot to repaint it, now is all oxydated

  • @curtvaughan2836
    @curtvaughan2836 5 місяців тому +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.

  • @alphazulu7488
    @alphazulu7488 Рік тому +13

    Linus + Richard = Genius of Free World Changing Software.

  • @canmertinyo
    @canmertinyo Рік тому

    full video?

  • @NeuroScientician
    @NeuroScientician Рік тому +10

    Does Rust still have the language policing politburo?

  • @simonchurch.
    @simonchurch. 7 місяців тому

    32 years on one single thing, respect!!!

  • @slr150
    @slr150 Рік тому +213

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

    • @smallbluemachine
      @smallbluemachine Рік тому

      No language can combat the buffoon using it.

    • @marcusaurelius6607
      @marcusaurelius6607 Рік тому +50

      This crap again

    • @Dr-Zed
      @Dr-Zed Рік тому

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

    • @julesoscar8921
      @julesoscar8921 Рік тому +51

      100% a good call from Linus

    • @mytech6779
      @mytech6779 Рік тому

      ​@@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.

  • @cryptmind4202
    @cryptmind4202 Рік тому

    Where can I find this entire event?

  • @AdvancedSoul
    @AdvancedSoul Рік тому +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 Рік тому +2

      "seldom" lmao grab the source and grep for it

  • @clarkcipryk312
    @clarkcipryk312 Рік тому +1

    What is the succession planning for Linus?

  • @minneelyyyy
    @minneelyyyy Рік тому +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

      that will be solved with the GCC port

    • @andrewfellingham8388
      @andrewfellingham8388 Рік тому +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.

    •  Рік тому +2

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

    • @minneelyyyy
      @minneelyyyy Рік тому

      @ 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.

    •  Рік тому

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

  • @anguinan
    @anguinan Рік тому

    is this conference available somewhere?

  • @MarkStrus
    @MarkStrus 4 місяці тому +3

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

  • @bernardoramos1412
    @bernardoramos1412 Рік тому

    How about a link for the FULL INTERVIEW???

    • @bernardoramos1412
      @bernardoramos1412 Рік тому

      ua-cam.com/video/OvuEYtkOH88/v-deo.htmlsi=7_qCJZ2yoPXLPdFZ

  • @sergeantseven4240
    @sergeantseven4240 Рік тому +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 Рік тому +13

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

    • @sergeantseven4240
      @sergeantseven4240 Рік тому +8

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

    • @Mempler
      @Mempler Рік тому

      @@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

  • @stcredzero
    @stcredzero Рік тому +1

    Jeremy Irons should play Linus in the movie!

  • @Labs51Research
    @Labs51Research 9 місяців тому +3

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

  • @SCK-47
    @SCK-47 Рік тому +2

    Should I learn Zig or Rust?

    • @sameug
      @sameug Рік тому +7

      Kotlin

    • @kullimoney365
      @kullimoney365 Рік тому

      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 Рік тому +2

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

    • @aevus
      @aevus Рік тому +10

      try both!

    • @aarholodian
      @aarholodian Рік тому +11

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

  • @gearbraniac
    @gearbraniac Рік тому +5

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

  • @MichaelLenz1
    @MichaelLenz1 Рік тому +2

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

    • @volundrfrey896
      @volundrfrey896 Рік тому

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

  • @muuraaja-e5k
    @muuraaja-e5k Рік тому +4

    Kernel is rusting?

  • @TheRealMrGordons
    @TheRealMrGordons Рік тому +2

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

  • @davidprock904
    @davidprock904 Рік тому +13

    What about Zig into the kernel

    • @nyx211
      @nyx211 Рік тому +7

      It hasn't even hit its 1.0 milestone yet.

    • @baxiry.
      @baxiry. Рік тому +4

      the logical choice

    • @vyyr
      @vyyr Рік тому +4

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

    • @DenshinIshin
      @DenshinIshin Рік тому +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.

  • @hewhointheearthlydomainsee1272

    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.

  • @musashi4856
    @musashi4856 Рік тому +6

    Why Rust?

  • @edwardmacnab354
    @edwardmacnab354 11 місяців тому +1

    he's being diplomatic

  • @andysPARK
    @andysPARK Рік тому +5

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

    • @karshPrime
      @karshPrime Рік тому +6

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

    • @pekeninu
      @pekeninu Рік тому

      @@karshPrime that's a classic! 🤣

  • @Alexithymiander
    @Alexithymiander 11 місяців тому

    Thank you Linus.

  • @Piineapple.
    @Piineapple. Рік тому +25

    Linus going old but wise

    • @ChrisStavros
      @ChrisStavros Рік тому +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 Рік тому +5

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

  • @rolygutierrez6123
    @rolygutierrez6123 9 місяців тому

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

  • @CocoNot.
    @CocoNot. Рік тому +7

    Can we get JavaScript now 👀

  • @ricko13
    @ricko13 Рік тому

    Linus reminds me of Michael Scott (from the office)

  • @Simon-xi8tb
    @Simon-xi8tb Рік тому +35

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

    • @antonf.9278
      @antonf.9278 Рік тому +12

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

    • @ivanmoren3643
      @ivanmoren3643 Рік тому +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 Рік тому +26

      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 Рік тому

      ​​@@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 Рік тому +4

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

  • @ajaypatro1554
    @ajaypatro1554 Рік тому +1

    we can take time for rust now then

  • @jagagemo8141
    @jagagemo8141 Рік тому +61

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

    • @chillappreciator885
      @chillappreciator885 Рік тому +7

      not always

    • @mytech6779
      @mytech6779 Рік тому +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 Рік тому

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

    • @theondono
      @theondono Рік тому

      ⁠​⁠@@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 Рік тому +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

  • @NishantDwivedi179
    @NishantDwivedi179 Рік тому +1

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

  • @Tugela60
    @Tugela60 Рік тому +28

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

  • @RahiDelvi
    @RahiDelvi 11 місяців тому

    Humble

  • @BudiSantoso-d9y
    @BudiSantoso-d9y Рік тому +3

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

  • @mahkhi7154
    @mahkhi7154 8 місяців тому

    You Think You can Get Linux to Run on an 8086. You're Going Back to DOS 3.0/4.0. You Haven't Got the Code for Windows.
    Its back To DOS and the Vi, editor.

  • @another_coffee_cat
    @another_coffee_cat Рік тому +16

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

    • @smallbluemachine
      @smallbluemachine Рік тому +40

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

    • @AwesomeAdmirak
      @AwesomeAdmirak Рік тому +10

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

  • @BobWulff
    @BobWulff Рік тому

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

  • @rynoxo
    @rynoxo 11 місяців тому +12

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

  • @mrhassell
    @mrhassell 9 місяців тому

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

  • @steve_seguin
    @steve_seguin Рік тому +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 Рік тому +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 Рік тому +3

      there's a reason rust devotees are crazy

  • @fakeit6339
    @fakeit6339 9 днів тому

    He won't interfer cos at that age it's hard to master another programming language other than c plus Rust won't be a big add other than complicating the job

  • @mikerodent3164
    @mikerodent3164 Рік тому +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__ Рік тому +5

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

    • @computerfan1079
      @computerfan1079 Рік тому +16

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

    • @mikerodent3164
      @mikerodent3164 Рік тому

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

    • @karmatraining
      @karmatraining Рік тому

      But how would you do that without unsafe

    • @ME0WMERE
      @ME0WMERE Рік тому +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!

  • @BenVanCamp
    @BenVanCamp 4 місяці тому

    “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‬‬

  • @chenlim2165
    @chenlim2165 Рік тому +5

    Whoho, Linus mellowing out?

    • @khhnator
      @khhnator Рік тому

      he was always reasonable as long you not doing stupid stuff

  • @fabrice9848
    @fabrice9848 Рік тому +1

    What happened to "if it's not broken, don't fix it"?

    • @ggsap
      @ggsap 28 днів тому

      But it is broken, in many a ways. Why not just use ASM for everything, or binary yet? They aren't broken, are they?

  • @mikerodent3164
    @mikerodent3164 Рік тому +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 Рік тому +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.

  • @hassansyed5661
    @hassansyed5661 Рік тому +1

    I am currently using only Rust, C, C++ and Assembly Language

  • @yeetyeet7070
    @yeetyeet7070 Рік тому +3

    How easy is it for 10 of those 1000 people invovled in each kernel release to be NSA goblins?

    • @angeldude101
      @angeldude101 Рік тому +2

      There was a group of college students that basically tried doing something like this. They got their entire campus banned from contributing.

    • @neodonkey
      @neodonkey Рік тому

      Something like that happened in BSD land. Around the encryption stuff if I remember correctly. Same happens for any company. How do you know that some of Apple's employees are working for the NSA on the side. Someone's gotta be.

    • @yeetyeet7070
      @yeetyeet7070 Рік тому +2

      @@angeldude101 yeah but I don't mean obvious shit like that, I mean things like the iphone backdoor we are just experiencing, or the WebP backdoor.

    • @brinckau
      @brinckau Рік тому +1

      Probably very easy. But what can we do? I'm not going to write my own operating system, so I will have to use one that has been written by people that I can't fully trust.

    • @neodonkey
      @neodonkey Рік тому

      @@brinckau Spitting truth. Unless you're Terry Davis it aint happening.

  • @nathanruben3372
    @nathanruben3372 Рік тому +1

    the more linux depends on rust, the less people will provide patches. Rust is considerably complex than c. Rust will force the linix has less developer base..

    • @theninjascientist689
      @theninjascientist689 11 місяців тому +1

      I believe the opposite will happen actually. More people can actually focus on writing business logic rather than avoiding memory leaks.

    • @nathanruben3372
      @nathanruben3372 11 місяців тому

      @jascientist689 even though used language is c, they are not using pure c in a sense. All memory actions, file actions, process management are going to through well tested library functions. Like C++, language itself allows many dangerous operations, but you do not have to use it. Nobody is using their custom linked lists, special data structures, reinventing wheel, directly using malloc etc. They are all libraries, performant, well defined. Linux has long solved memory leaked problems, the linux servers are running for months even years without shutdown. The problems are mostly caused by drivers or applications. Torwalds is just seeking something new. That's is all. He got bored.

    • @smiechu47
      @smiechu47 8 місяців тому

      @@theninjascientist689 Rust attracts sloppy programmers, same way C++ does.

    • @VictoriaBritish47
      @VictoriaBritish47 4 місяці тому

      Yes and I always say but some people don't hear

    • @VictoriaBritish47
      @VictoriaBritish47 4 місяці тому

      ​@@RustIsWinningit's you, C is king 👑

  • @lashlarue7924
    @lashlarue7924 Рік тому +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 5 місяців тому

      @@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 5 місяців тому

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

    • @lashlarue7924
      @lashlarue7924 5 місяців тому

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

  • @attaboyabhi
    @attaboyabhi 11 місяців тому

    he calls himself a technical lead! sweet !

  • @rationalityfirst
    @rationalityfirst Рік тому +5

    I would wait for stable Zig.

  • @gilbertsenyonjo963
    @gilbertsenyonjo963 Рік тому

    I think UA-cam should have a love button ❤

  • @animuspexus
    @animuspexus Рік тому +5

    better use modern c++ in linux than rust

    • @Sierra410
      @Sierra410 4 місяці тому +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 4 місяці тому

      @@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 4 місяці тому

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

    • @Sierra410
      @Sierra410 4 місяці тому

      ​@@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 4 місяці тому

      @@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

  • @ArtiZirk
    @ArtiZirk Рік тому

    Source of this clip is a linux foundation keynote in Japan ua-cam.com/video/OvuEYtkOH88/v-deo.html

  • @hockeyhurd
    @hockeyhurd Рік тому +5

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

    • @shinobuoshino5066
      @shinobuoshino5066 11 місяців тому +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 10 місяців тому

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

    • @shinobuoshino5066
      @shinobuoshino5066 10 місяців тому

      @@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.

  • @xanaxity
    @xanaxity 5 місяців тому +1

    Sure Rust may replace ALL C libraries in near future, but you still sure as hell can't write driver for Nvidia Graphics card in Linux using Rust.

    • @xanaxity
      @xanaxity 5 місяців тому

      @Portal2Pro I wrote that as a joke. Since Linux and Nvidia doesn't have so much good relationship. 😅😅

    • @xanaxity
      @xanaxity 5 місяців тому

      @@RustIsWinning google "linus reply to nvidia support", you'd get the joke.

    • @done45-p7h
      @done45-p7h Місяць тому

      ​@@xanaxitywill never happend.

  • @bartlx
    @bartlx Рік тому +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 Рік тому +20

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

    • @__Brandon__
      @__Brandon__ Рік тому +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 Рік тому +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 Рік тому +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 Рік тому

      @@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/

  • @noxlusus
    @noxlusus 11 місяців тому +1

    Why not integrate python then?

    • @noxlusus
      @noxlusus 11 місяців тому +3

      Ug, someone thumb upped that comment... I am so embarrassed that came across as serious to someone. 😁

  • @soixantelly
    @soixantelly Рік тому +51

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

  • @Alberto_Cavalcante
    @Alberto_Cavalcante Рік тому +2

    Interesting