Тёмный

Linus On C vs Rust Linux Problems 

ThePrimeTime
Подписаться 586 тыс.
Просмотров 127 тыс.
50% 1

Опубликовано:

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@ThePrimeTimeagen
@ThePrimeTimeagen День назад
MISS SPOKE: Emacs never charged and I couldn't find the source in which I originally learned this which means I made it up from the cockles of my heart You are welcome and subscribe to me on twitch
@geek2145
@geek2145 День назад
You really stepped on a landmine with this one lol.
@rumplstiltztinkerstein
@rumplstiltztinkerstein День назад
Takes a lot of patience to talk with so many developers in real time on-stream bro. That's very commendable.
@Hyp3rborean
@Hyp3rborean День назад
Is miss spoke hot? Let's go
@hackbinary
@hackbinary День назад
Lucid Emacs charged in the beginning.
@unpythonic
@unpythonic День назад
As someone from those times, the wars were more substantive then. Machines had very limited memory and disk. vi would start up instantly and was wicked fast, but you only had access to one file at a time, practically no customization, and yeah, modal editing. vi was a huge leap beyond ed, sed, and friends, but not much. Emacs on the other hand was a luxuriant fully customizable and infinitely extensible editor in lisp, but it was a hog of memory and disk, and took forever to start up (relative to vi), and the key bindings were byzantine. Nowadays, both editors are essentially equivalent and the argument is just about the extension language or modal editing. To get the feeling of the old wars, imagine comparing nano to vim ;)
@naturallyinterested7569
@naturallyinterested7569 День назад
If JS is abstract chaos, Java is AbstractChaosFactoryProviderSingleton
@gneryze
@gneryze День назад
goddamn right on the spot joke right there
@liegon
@liegon День назад
It's funny, but aren't Singleton and Factory as well as Abstract mutually exclusive?
@BeatsByYari
@BeatsByYari День назад
@@liegonPeter here to explain the logic: The type is AbstractChaosFactoryProviderSingleton. This means that the class instance is a singleton and provider of AbstractChaosFactories, which is perfectly valid. Abstract factories do unfortunately exist in the real world.
@liegon
@liegon День назад
@@BeatsByYari Okay wow, thank you. Seems super unnecessary.
@CeePritch
@CeePritch День назад
​@@BeatsByYariand to break it down a little more. The provider would be a class most likely passed in as a parameter for dependency injection. Then the class would call the provider (singleton in this case) and create an AbstractChaosFactory. So a factory pattern is used to create many instances of something usually with varying parameters. At this point the class would most likely generate many forms of chaos cast from the abstract base class for chaos. Thusly you have a enterprise scale system capable of many types of chaos and chaos producers.
@arcaneminded
@arcaneminded День назад
If Torvalds wasn't the way he is, then Linux would be a terrible experience.
@gfixler
@gfixler День назад
I've been worried for years about Linux burning to the ground after he dies. He rules with an iron fist, and Linux has been wonderful for me for 18 years now.
@ryoukaip
@ryoukaip День назад
true
@NGC1433
@NGC1433 День назад
This is deep sarcasm, right? RIGHT???
@TroubledTrooper
@TroubledTrooper День назад
And that's why I am petrified as to what will happen once he passes/retires...
@kayakMike1000
@kayakMike1000 День назад
​@@NGC1433dude, seriously? Maintainer has strong opinions about shit getting in _his_ code base and you have the gall to suggest sarcasm. Go take a long walk off a short pier.
@Novascrub
@Novascrub День назад
he doesn't mean religious as philosophical, he means religious as dogmatic
@Jabberwockybird
@Jabberwockybird День назад
Bikeshedding with the analogies
@stysner4580
@stysner4580 День назад
I rather get the feeling Prime either is religious or really doesn't want to offend religious people. In Scandinavia (and much of the rest of the Western world) people see religion for what it is: thinly veiled dogmatism.
@UnidimensionalPropheticCatgirl
@UnidimensionalPropheticCatgirl 23 часа назад
@@stysner4580 He is pretty religious, from time to time he talks about it on stream. > In scandinavia I guess it depends on the location, from my experience of living in Oslo for a couple years, I would say that norwegians are still pretty religious as a group.
@Zeocins
@Zeocins 21 час назад
Philosophy is dogmatic. Take one look at the political world, which is all philosophy. Bombs are dropping right now on real people over dogma between old soviet states.
@Jabberwockybird
@Jabberwockybird 20 часов назад
@@stysner4580 "The fool has said in his heart, there is no God." Yes, that's dogmatic, but there is a sense of dogmatism that has to exist. Either God exists or He doesn't. No need to veil it.
@lineshawn4819
@lineshawn4819 День назад
"the most bikeshedding group of people which is kernel development" Prime clearly hasn't seen any of the Wayland protocol discussions
@jamess.2491
@jamess.2491 День назад
Nah Wayland dev is such a shit show 😂
@Kane0123
@Kane0123 23 часа назад
Are they discussions or debates? I think we need to be sure not to misrepresent the kind of communication taking place
@tirushone6446
@tirushone6446 День назад
You know it's time to stop when linus says the argument is becoming to toxic
@krumbergify
@krumbergify День назад
BSD was locked into legal issues during the early 90s, UNIX was expensive and GNU Herd wasn’t ready. Linux was created during a very special five year window and it could not have succeeded five years earlier since GNU wasn’t ready yet and it would have been hard for Linux 0.1 to compete with mature BSD in the late 90s. I also think that Stallman’s philosophy was an inspiration for many young developers.
@dc443
@dc443 18 часов назад
Uh you wrote a comment without finishing it and put a literal ellipsis character at the end. are you okay? Or is youtube fucking with me right now.
@dannyarcher6370
@dannyarcher6370 18 часов назад
Linus fucked up with the GPL but I understand why he had to do it. BSD is the libertarian's licence. GPL is for commies.
@71Jay17
@71Jay17 14 часов назад
@@dc443 its perfectly fine.
@siamesestormtrooper
@siamesestormtrooper 16 часов назад
6:25 Telling Linus Torvalds what he actually meant to say is pretty ballsy for a guy who can’t read 👀
@swedishpsychopath8795
@swedishpsychopath8795 День назад
Visual Basic should be used! No type problems there! It won't accept anything bad. If you type the smallest error it gives you POP-UP errors! THAT IS BETTER THAN RUST! Have YOU seen popup-windows in Rust? I didn't think so. Therfore Visual Basic it is!
@VivekYadav-ds8oz
@VivekYadav-ds8oz День назад
Then we can just have an small embedded microkernel inside the Linux kernel(!) to handle window popups for Visual Basic. LGTM let's do it
@sierra.mike.atomic8177
@sierra.mike.atomic8177 День назад
Truly a psychopath
@allowambeBOWWAMB
@allowambeBOWWAMB День назад
on error resume next - will never crash
@PalladinPoker
@PalladinPoker День назад
x = 0 Woah man, way too terse. int x = 0; no no no, nobody understands that. DIMENSION x AS INTEGER INITIALLY 0; now this, this is perfect.
@swedishpsychopath8795
@swedishpsychopath8795 День назад
@@PalladinPoker Sure it sounds bad if you put a negative spin on it. But that goes with rust too. If you omit ANY letter in that declaration you'll get a pop-up error message! Type safety right there, and right in your face. visual basic FORCES you to acknowledge your error by you having to press the "OK" button. The vb editor also refuse to save the file before it is corrected. How in the world could an error be introduced into such a system?
@YTacc-n4
@YTacc-n4 День назад
why not just use python?
@tinrab
@tinrab День назад
Why not just show yourself out?
@fz_lyu
@fz_lyu День назад
for what?
@milanmolnar3820
@milanmolnar3820 День назад
Best ragebait
@cyanlight7
@cyanlight7 День назад
Good joke, the door is right there
@SorinSilaghi
@SorinSilaghi День назад
RUN! :)))))
@caerphoto
@caerphoto День назад
I don't like the idea that C is "easy to learn". It's like saying learning to drive is easy, when what you really mean is "learning how to operate a car is easy". Like yeah, learning the absolute trivial basics of how to operate the thing IS easy, but learning how to do it safely and efficiently is most certainly not. Learning Rust is , I guess, like learning to fly: it's much harder initially, it enforces much stricter safety, and you just plain aren't allowed to do certain things or you won't even be allowed off the ground, and as a result it has a much better safety record.
@seanwoods647
@seanwoods647 День назад
Learning to program is hard. Full stop. And speaking as someone who has been programming for 40 years (yes I started when I was 10), the language is NOT what makes programming hard. It is understanding the complexity of the interfaces. Rust basically plays keep-away with everything. It's not like learning to fly is to learning to drive. It's like calling an Uber is to learning to drive.
@stysner4580
@stysner4580 День назад
But it is easy to learn. It is limited, therefore it is both easy to learn and hard to use.
@dc443
@dc443 18 часов назад
The analogy seems better the other way around. Rust forces you to stay on the ground in order to ensure that you will be safe (e.g. not fall out of the sky). C just lets you do whatever you want, including taking to the skies. It's on you if you pancake yourself.
@pnk-q9w
@pnk-q9w 18 часов назад
@@stysner4580 no its limited, so at anypoint you want to do something other than a calculator you suddenly are missing 80% of other programming languages. learning basics + doing some elementary projects isnt learning a language, that takes years, the fact that its so barebones makes it very hard to really get good at building stuff actually useful
@dasten123
@dasten123 18 часов назад
No way anybody who is competent would claim that C is easy to learn
@KelvinShadewing
@KelvinShadewing День назад
Me binding every function in Linux to Squirrel so I can replace bash scripts with nuts.
@Jabberwockybird
@Jabberwockybird 20 часов назад
Does it use Squirrely braces?
@black-snow
@black-snow 12 часов назад
Deez Nuts
@charlesbcraig
@charlesbcraig 17 часов назад
Prime: Making an OS takes many many people and many many years Terry Davis: *enters the chat* (from heaven)
@Vinoyl
@Vinoyl День назад
Let's go more linux drama
@ANONAAAAAAAAA
@ANONAAAAAAAAA День назад
The point of C is 'just enough abstraction of assembly languages'. I would say, C is DSL which generates assembly codes. Some people like driving MT cars while others like AT cars and that is what it is.
@dansanger5340
@dansanger5340 22 часа назад
That doesn't bode well for C. There was a time when there were still advantages to a MT. But now, the AT is better in every way. MT exists purely for nostalgia reasons.
@chaos.corner
@chaos.corner 22 часа назад
@@dansanger5340 They need to start putting them in cars then because every AT car I've driven has been a less compelling experience.
@AlexAegisOfficial
@AlexAegisOfficial День назад
Kernel developers being protective and gatekeeping is good for the stability and quality of linux. They should be very skeptical and careful with everything. Linux is a core component of modern civilization.
@CommanderRiker0
@CommanderRiker0 День назад
Why don't rust users create their own OS if its so great instead of taking over an existing C kernel? Doesn't make any sense.
@rmidifferent8906
@rmidifferent8906 День назад
​@@CommanderRiker0They won't create their project for the same reason that rewrites of the applications don't work - the project is already mature and it is impossible to write something that will fully replace it and keep working on the original kernel. You might not like Rust but let's not get stupid - refactors are good even if they are painful
@CommanderRiker0
@CommanderRiker0 День назад
@@rmidifferent8906 Lets not get stupid while suggesting mixing two languages into the kernel. Adding complexity is for idiots. Seems like a skill issue is why we don't have a rust kernel.
@PiotrPavel
@PiotrPavel День назад
@@CommanderRiker0 there is RedoxOS but a lot of modern stuff wouldint work
@computernerd8157
@computernerd8157 День назад
The world can survive if Linux dies, just like it did when Unix went away.
@OneGodHand
@OneGodHand День назад
you should watch what linus said from the source video when its available, reading it from someone else's words gives different interpretation to the intention behind his words.
@Oler-yx7xj
@Oler-yx7xj День назад
"Torvalds doesn't get it: Rust isn't a religion, it's a philosophy" - The Primeagen 2024
@tinrab
@tinrab День назад
It's a programming language...
@DataPastor
@DataPastor День назад
Its a cult. Cargo Cult.
@seanwoods647
@seanwoods647 День назад
@@tinrab C is a programming language. Rust is a damn cult. Google: Useful software written Rust. The answer: a pile of web frameworks in the Alpha stage, rewrites of simple Unix utilities (badly) and numerical analysis tools that could have just as easily been written in NumPy or Fortan. Honestly there is more justification of Python or Tcl to have a dedicated kernel module. But they don't need it because they can actually just USE the existing C APIS. Rust is a special case because the design is so broken that the ONLY way to write a potentially useful application is if your entire ecosystem is written in Rust. (And this why when you point out to a Rust Zealot that nothing of any consequence is currently written in Rust will state that "Well once we have a Rust OS..." See. It's a cult.)
@mmmhorsesteaks
@mmmhorsesteaks День назад
​@@DataPastorI always assumed that was the joke tbh ...
@stysner4580
@stysner4580 День назад
@@DataPastor You did watch the video right? Where Torvalds was talking about both sides of the argument, not just Rust devs? You're not helping.
@suede__
@suede__ День назад
They should name this the "Blue Hair War" (for those that remember when their grandma had blue hair)
@ponocni1
@ponocni1 День назад
I would not really say its not unhealthy discusion, sometimes you need to not think about someones feelings, but you need to dish reality check. He is a guy who manage one of the biggest projects with tons of people involved and if he does let everyone do whatever they want, you will end up with disaster. I do not envy Linus.
@sirtobi6006
@sirtobi6006 22 часа назад
Chaos is not Anarchy, it is Anomy. Anarchy is order but without a Ruler. Anomy is chaos without a Ruler.
@shuoshuoxi9527
@shuoshuoxi9527 18 часов назад
haha, accurate!
@tomasp3394
@tomasp3394 День назад
I like how the article mistepresented Linus but you corrected it with hos actual position without watching his full response. If only everybody had BS filter like Prime.
@alietexpositogarcia8979
@alietexpositogarcia8979 19 часов назад
Miguel Ojeda did not abandon the Rust for Linux project; it was Wedson Almeida Filho. The article is incorrect. I don't know how you can confuse the names; one is Spanish and the other is Brazilian...
@seanwoods647
@seanwoods647 День назад
I work on the Tcl core. There is/was a movement to shift development to Rust from C. The issue is that the Rust people who are insisting on that change only want to dick around with memory allocators and such. When confronted with hardware interfaces, external APIs, network communications, etc. they just throw up their hands and say "Oh that's a YOU problem." As if somehow a general purpose scripting language's only job is to allocate memory and not, like INTERFACE with anything.
@meanmole3212
@meanmole3212 День назад
I find that interesting considering there is not even a standard for using different mem allocators in the Rust standard library, it has been in development for ages. It seems more like Rust people don't care about memory allocations, perhaps the story is totally flipped on the side of #[no_std]
@Daktyl198
@Daktyl198 День назад
Internal structure is where Rust works best anyway. You say dick around, but they probably just assumed a C interface with the outside world would be best to leave as-is until they fixed most of the other issues in the internals. Dealing with accidentally breaking external interfaces while you still have bugs/issues stemming from a rewrite in the core is not good.
@stysner4580
@stysner4580 День назад
It's almost as if they have less manpower and want to start at some core feature so they can build from there. Crazy, I know.
@wetter4293
@wetter4293 23 часа назад
@@stysner4580 Yeah, and they picked the least compatible 'core feature', so much so they're willing to compromise it's CORE functionality in order to do it. Sounds lazy to me.... C devs, got a great language, c, and built an OS out of it. Rust devs got a great language, and is trying to inseminate itself into every possible crevice it can. Correct me if I'm wrong, but did c try to tack onto pascal, or fortran to force some unfitting adaptation?
@cyberpunkspike
@cyberpunkspike 22 часа назад
@@wetter4293 Nope, C just did what it does and didn't need zealots shoveling it down everyone's throats.
@Heater-v1.0.0
@Heater-v1.0.0 День назад
Seems to me that the Vi vs Emacs debate is totally different to the C vs Rust debate. In the first case every developer can use whatever editor he likes and it has no effect on any other developer. In the later case if a project adopts a new language then likely everyone has to invest much time and effort into mastering that new language. Worst still they end up having to deal with two languages all the time. I can understand why many have resistance to the demands a new language makes on them
@aibrainlet8041
@aibrainlet8041 День назад
Also since was was emacs the "big paid editor" ?? I don't think that's true at all, I think they have different licenses but I don't think emacs was ever anything more than just stallmans experiments with a lisp compiler, not a big corporate editor VScode
@yjlom
@yjlom День назад
​@@aibrainlet8041so that's a woosh
@aibrainlet8041
@aibrainlet8041 День назад
@@yjlom ??
@yjlom
@yjlom День назад
@@aibrainlet8041 en.m.wikipedia.org/wiki/Joke
@_start
@_start День назад
​@@yjlomthat indeed wasn't a woosh sir
@Xblow23
@Xblow23 День назад
I admit, I thought "Squeal" for sql, "Gson" for json are kinda cute, but "Vy" for Vi is too much!!
@ThePrimeTimeagen
@ThePrimeTimeagen День назад
How about Vee?
@sealsharp
@sealsharp День назад
@@ThePrimeTimeagen Ah VEE, the visual programming environment for measurement devices.
@max_talks_42
@max_talks_42 23 часа назад
@@ThePrimeTimeagen It's "vee eye" you philistine.
@stevenhe3462
@stevenhe3462 15 часов назад
WTF this one is how people actually pronounce Vi… At least John Carmack does.
@chrboesch
@chrboesch День назад
Watched the interview with Linus and he made a very important point: C in the Linux kernel is not standard C. It has a lot of memory safe code inside, that's (for my understanding) the reason, why he don't' want to force another language.
@RustIsWinning
@RustIsWinning День назад
Cool. It is still memory unsafe tho 😂
@Daktyl198
@Daktyl198 День назад
kernel C is not standard C, but it does not have memory safety built into the language. He said that they've worked to implement memory safety into the kernel, but it's almost impossible to guarantee it with any form of C. Additionally, Linus actively encourages development of Rust in the kernel as he doesn't want the kernel to stay stagnant with C (less and less developers are learning C as time goes on) and sees Rust as the language that most benefits the kernel if it works out due to the memory safety.... which again, Kernel C does not have.
@stysner4580
@stysner4580 День назад
Why do you idiots keep saying "he doesn't want another language" when he signed off on and is still supporting Rust in the kernel?!
@UnidimensionalPropheticCatgirl
@UnidimensionalPropheticCatgirl 23 часа назад
@@RustIsWinning so is “safe” rust, thanks to all the UBs surrounding closures and lifetime expansion.
@antoniong4380
@antoniong4380 19 часов назад
​ Any example? Like meaningful one? An example of meaningful interface footgun would be struggling to effectively perform a formally called LendingIterator with the std Iterator trait. Spoilers: You can't; because the std iterator is meant to return owned values. Now, if you don't get to learn this limitation to std's Iterator trait, then you might spend hours self-hating yourself for not being able to do a simple Iterator Implementation, when the interface itself wasn't designed to behave like what you were expecting.
@JanMagnusson72
@JanMagnusson72 День назад
Using C a lot of knowledge is in the heads of developers. Rust sees this reliance on implicit knowledge as a problem and tries to embed a lot of this directly in the type system. To do this, devs not using Rust need to "externalize" some of this knowledge so that the Rust maintainers can build good Rust abstractions. Even if the C maintainers don't have to use Rust, they have to do new things that they didn't have to do earlier to satisfy the builders of the Rust type system. Some of them do not like this.
@CommanderRiker0
@CommanderRiker0 День назад
But rust isn't needed at all. Why bother mixing languages into the kernel. Just make a kernel in Rust.
@rmidifferent8906
@rmidifferent8906 День назад
​@@CommanderRiker0Yeah, after all a fully functioning kernel is something that a few guys should be able to build in a few afternoons. That's why we have so many open source kernels to choose from after all. They spring up like js frameworks
@ythanzhang
@ythanzhang День назад
@@CommanderRiker0 Linus also suggested someone should write pure Rust kernel, and there are some, for example Redox. But the reason of introducing Rust into Linux is Linus belive the kernel may stagnate if they always doing things the same way and Rust is something that's significantly different and offers clear benifites if it works out. Also it's called an experiment for good reasons.
@CommanderRiker0
@CommanderRiker0 День назад
@@ythanzhang Adding complexity into just about anything should be done as a stop gap, not just "because"
@kyrylmelekhin2667
@kyrylmelekhin2667 День назад
​@@CommanderRiker0W take.
@ryleitdept
@ryleitdept День назад
modern C++ is the way to go for modern Linux kernel 💪🍤
@cobrab1978
@cobrab1978 23 часа назад
Linus not like C++
@qqshutup7175
@qqshutup7175 3 часа назад
@@cobrab1978 c++ developers don't like c++, life is a confusing symphony
@hanro50
@hanro50 День назад
I'd say this. Linus is mean, but not toxic. Which I think is the aspect some people miss.
@hungrymusicwolf
@hungrymusicwolf День назад
Sometimes mean is necessary to keep the more foolish among us from ruining it for everyone (including themselves). Note: we're all that foolish guy sometimes.
@stysner4580
@stysner4580 День назад
Many cultures prefer politeness over honesty. They're wrong.
@CoolestPossibleName
@CoolestPossibleName 19 часов назад
@@hungrymusicwolf Man, I'm a foolish guy all the time
@rusi6219
@rusi6219 6 часов назад
​@@hungrymusicwolfare you kidding? His behaviour is completely unnecessary. If somebody bothers you just ban/block them and offer reasonable explanation..or don't. But don't act unhinged. People like you enable low moral character.
@ryangrogan6839
@ryangrogan6839 День назад
big w take here, this is totally a philosophical argument on how software should be designed/written.
@haariger_wookie5646
@haariger_wookie5646 16 часов назад
„C Developers will not just turn around and learn Rust“ but nobody is asking them to… they are asked just to talk with the people that can write Rust so the C parts and the rust parts can better work together.
@janmkubalek
@janmkubalek 9 часов назад
That's not true. What you change, as a C programmer, abstraction on FS subsystem you need to go and ensure all places work as expected. And if the same parts are written in different languages you need to learn a new prg lang because you need to repair all the places not only the C related...
@araarathisyomama787
@araarathisyomama787 День назад
I try to get back into Rust once in a while and I drop it every time. I hate semantic bureaucracy for stuff that is simple, but Rust doesn't think it is.
@chizuru1999
@chizuru1999 День назад
same. love hate relationship
@stysner4580
@stysner4580 День назад
Isn't the problem that people have made themselves believe stuff is simple when it is very much not so? That's literally the reason for Rust existing.
@pnk-q9w
@pnk-q9w 18 часов назад
@@stysner4580 this is what i think every time c programmres complain about the borrow checker & lifetimes, their code must be full of bugs if that's their gripe with rust
@brssnkl
@brssnkl День назад
You can still make memory problems in javascript
@stysner4580
@stysner4580 23 часа назад
The same goes for Rust. The same goes for C#. The same goes for ANY language. Leaking memory is trivially easy to do.
@phantom_stnd
@phantom_stnd День назад
Every discussion is essentially free vs proprietary
@exotic-gem
@exotic-gem День назад
Zig isn’t a better choice, it’s not different enough from C. There isn’t much benefit from switching, such a big project needs a real good reason to switch to a new language.
@stysner4580
@stysner4580 23 часа назад
The point for Zig that was made is that it ISN'T a direct change at all. You add in some new optional features and QoL. But you don't have to use it if you don't want to.
@shuoshuoxi9527
@shuoshuoxi9527 18 часов назад
The problem is just like what you said, it's not a disadvantage. You don't actually need a different language, what you need is a modern C, better C. It's still the kernel world
@melodyogonna
@melodyogonna 4 часа назад
Who is talking about switching?
@Adowrath
@Adowrath 2 часа назад
I think one of the things that was missed on the German strings part that nobody else mentioned is that, yes, Rust makes you write more code to achieve the same "effect". But what the Rust code does by nature of you needing to write it out, and the C code almost certainly doesn't, is that you make explicit your design and assumptions. It's not truly 100 lines of Rust vs. 20 lines of C, it's that with 70 lines of explanations in C on top.
@stephenreaves3205
@stephenreaves3205 День назад
I've always understood Zig as the modern C and Rust as the modern C++ so I was super surprised when they announced they were allowing Rust in the kernel
@zfl1981
@zfl1981 День назад
C++26 is the modern C++.
@wqlee
@wqlee День назад
The reason is that Zig doesn't have sufficient memory satefy mechanisms.
@rcoder01
@rcoder01 День назад
Zig wasn’t (and still probably isn’t) mature enough two years ago when they decided to adopt rust
@CoolestPossibleName
@CoolestPossibleName День назад
@@wqlee it's good enough imo
@kenneth_romero
@kenneth_romero День назад
@@wqleereally? i thought it was because andrew wanted to do breaking changes to the language still to get the syntax just right.
@cat36942
@cat36942 День назад
We've got software development racism before GTA 6 💀
@LubosMudrak
@LubosMudrak День назад
I legally declare that I am Rustist.
@mattymattffs
@mattymattffs День назад
I think the rust people aren't asking for c devs to change. They're asking for c devs to define the behaviour and they don't want to
@LeFlamel
@LeFlamel День назад
Sshhh let them strawman, it's their only way to cope.
@DeviRuto
@DeviRuto День назад
They never had to before. Spit and a prayer has always been enough after all
@boccobadz
@boccobadz День назад
Rust bros wanna C wizards to maintain their code. It's Microsoft's inside job to hijack Linux. Tbh Linux doesn't need rust but rust devs need some reason to exist since there's no real world rust jobs.
@Dredge22
@Dredge22 День назад
The behavior is defined already, you just have to read the C and possibly related parts of processor specs at worst. I think some of the Rust developers are just getting tired of reading and/or having skill issues. So they are demanding (the rust communities version of asking) that the kernel devs document it for them. The kernel devs don't want to because they don't want the constraints to be written in stone (the rust type system) and break the whole rust side every time they want to make a small change.
@DeviRuto
@DeviRuto День назад
Reading the C code does not lead to the definition of the behavior, because C has UB.
@JohnSmith-gu9gl
@JohnSmith-gu9gl День назад
Will Prime ever do a tutorial for Rust, from beginner to expert?
@Noble_Savage
@Noble_Savage День назад
Whether Rust or not, it was a damn moronic decision to bring another language into the kernel. Mixing languages on a project is always a terrible idea, so yes this will fail.
@RustIsWinning
@RustIsWinning День назад
My guy has never heard about Android LOL 😂
@Daktyl198
@Daktyl198 День назад
Bindings are nothing new, and Rust can interface with C fairly easily. The only thing is that the developer writing the bindings needs to know both what is needed on the Rust side and the C side. And when the kernel is undocumented kernel-C (special variant of C with extra shit) that has like, 25 layers of abstraction functions before you actually see what something does... sometimes you gotta just ask somebody who knows what it does first before wasting time working it out for yourself.
@zzrroott6459
@zzrroott6459 День назад
​@@RustIsWinning android 😂
@zzrroott6459
@zzrroott6459 День назад
Internet experts think that they know better than linux kernel devs. Its amusing. The anger against rust is completely justified
@RustIsWinning
@RustIsWinning День назад
@@zzrroott6459 Says the internet expert 🤡 himself. Ironic 🤣🤣🤣
@32zim32
@32zim32 День назад
Linux is really messy in terms of architecture. This is like making changes in huge legacy monolith. It's very hard
@greg_land
@greg_land День назад
No it's actually not which is why the rust developers are having issues. The only solid boundaries that exist are at userspace. Those are the only sacred boundaries. Everything else is up to be restructured as necessary. I think this is at its core why the rust developers are having so much issue. The language almost requires an unchanging set of interfaces to build upon but the kernel is always changing internally by necessity.
@32zim32
@32zim32 День назад
@@greg_land I don't understand this point. Maybe rust developers want some additional guarantees. Because I am sure that right now they also have some dependencies because in the end of the days all components need to interact somehow and communicate with each other. They can't be totally independent from each other or some kernel interfaces
@Daktyl198
@Daktyl198 День назад
@@greg_land You... literally just described the messiest system ever immediately after saying the kernel is not messy lmao. And you act like Rust can't be "fluid". The issue isn't Rust types or "hard boundaries", the issue is simply that the existing Kernel C code is hard as hell to parse manually if you're not familiar with it. Normally maintainers help people by explaining what each function does. They refuse to do that with the Rust devs, forcing the rust devs to manually parse it to write the bindings. Bindings against C code are fairly easy to write and maintain, as long as you know what data the C functions expects/returns. Keeping the bindings up to date would be trivial if the C code was documented.
@Qohist
@Qohist День назад
I use javascript to make drivers
@Jabberwockybird
@Jabberwockybird День назад
I use css. COBOL style sheets
@Qohist
@Qohist День назад
@@JabberwockybirdGood one
14 часов назад
Hey @ThePrimeTimeagen the article is misleading. Who left the Rust for Linux project and talked about "The Nontechnical Nonsense" was Wedson Almeida Filho (an MS engineer) but not Miguel Ojeda.
@ShootingUtah
@ShootingUtah День назад
I know Rust CAN be used to program at the Kernel level but with it's verbose and arcane syntax, it's actually muddying the waters of the kernel! The benefit of C is it's barely above assembly. Keeping the abstraction small. With Rust you're abstracting too far away from the inherent danger of the kernel and adding millions of places for all kinds of problems. Maybe if Linux was built with Rust from the beginning we'd have a different story but trying to mix languages that are almost on opposite ends of the paradigm spectrum together just sounds like problems waiting to happen!
@Daktyl198
@Daktyl198 День назад
You really should learn a bit of Rust before you comment. C is great, and Kernel C (it's own variant) is even better. But Rust is nothing like what you just said. To begin with, Rust syntax is verbose, but not "arcane". In fact, it's verbosity is specifically there so that you're never confused as to what the code is doing at any point in time. Additionally, Rust doesn't have any sense of "abstraction" over C, other than not having to allocate or free your memory manually. Almost all Rust safety features happen at compile-time checking of your code, not runtime abstractions unlike something like Go with it's garbage collector. Additionally, bindings (especially against a language like C) are pretty standard things and fairly easy to maintain, as long as the functions on either side of the interface are well documented. The only issue here is that the Kernel C code is hard to read, has many layers of abstraction, and are not documented. If any of those 3 things were different, we wouldn't be hearing anything about this issue because it wouldn't be an issue.
@stysner4580
@stysner4580 День назад
...You do understand that kernel code doesn't use plain C though, right? There are a LOT of specific abstractions that are not compile time checks in Linux kernel code. Maintaining all of that and keeping the learning curve small is almost impossible. Maybe that's why Torvalds likes the idea of Rust in the kernel in the first place.
@71Jay17
@71Jay17 15 часов назад
"arcane syntax" ? You feeling okay? Feeling a little blue pilled by Null and memory safety are we. Tony Hoare said it perfectly: "I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references in an object oriented language (ALGOL W). My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years."
@JJJMMM1
@JJJMMM1 День назад
The religion analogy: some people believe what they believe regardless of arguments or evidence. That's definitely going on here.
@timovandrey
@timovandrey День назад
There is one single reason why I dont want to program in rust. One single reason. And I am stubborn, and this might be stupid. But Rust is horrendously ugly. Only Visual Basic and MATLAB are more ugly, lol. Ill just wait until another language has the feautures Rust has. Btw, what about c3 lang?
@flyingsquirrel3271
@flyingsquirrel3271 День назад
Sorry, but "I still make memory problems in rust" as an argument for C is nothing but logical fallacy. You can still die in a car accident if you're wearing a seat belt, so let's ditch those, right?
@akosv96
@akosv96 День назад
Holy C > anything else
@Kraja111
@Kraja111 17 часов назад
one big critic for Rust is, that managing its dependencies could become a nightmare and agruably is right now a nightmare
@mattymattffs
@mattymattffs День назад
Damn, three chats going at once. Insaneo style
@ramakrishnanj3472
@ramakrishnanj3472 День назад
he only looks at twitch
@NVM_SMH
@NVM_SMH 18 часов назад
You have missed the point. The Rust people want the C people to provide precise definitions for the function calls. The C people don't want to do that. I think that the Rust people are right. It's not about whether C is better than Rust.
@Ulvhamne
@Ulvhamne День назад
RE: Linux competitor written in Rust taking over from Linux, no. Language a program is written in has virtually no impact on popularity. For something to overtake Linux, it needs to be better, and not just by a little, there is a threshold that is higher than "actually more for purpose", since there is a yuuuge amount of work to replace OSes, especially for early adopters that basically have to build supporting software as well.
@CoolestPossibleName
@CoolestPossibleName День назад
A lot of what Linus says now-a-days doesn't make sense to me.
@Ulvhamne
@Ulvhamne День назад
@@CoolestPossibleName I honestly haven't kept up with what he says so I can't really say either way.
@allowambeBOWWAMB
@allowambeBOWWAMB День назад
what about all the 9028389023489023 drivers that have to be ported?
@pemifo260
@pemifo260 День назад
@@allowambeBOWWAMByeah imho that’s the biggest problem. and i don’t understand what are we going to gain when we replace the C with Rust?
@allowambeBOWWAMB
@allowambeBOWWAMB День назад
@@pemifo260 It's a dead end. They would have to make a separate kernel with interface to C drivers that they can't keep up with
@jgndev
@jgndev 10 часов назад
Important correction. BSD Unix was open source/free before Linux, BUT it was mired in legal battles for a while. AT&T Unix and derivatives were not free and were not open source. Early in my career commercial Unix (Solaris, IRIX, AIX, HP-UX) dominated the landscape in the semiconductor industry and Linux didn't start to replace them until around 2005 or so.
@therealmccoy7221
@therealmccoy7221 День назад
I recommend you simply watch the interview. Linus very politely and calmly made the point that the "memory safety in Rust" versus "Unsafe C in the kernel" debate is a red herring because, as he pointed out, the "C" in the kernel is not the vanilla "C" you usually think of. The "C" in the kernel has been enhanced - especially re memory safety - in decades of work and experience so it's much "memory safer" than the vanilla C because - believe it or not - no kernel developer wants to hunt down ominous memory bugs (even though the Rust community almost gives that impression). Additionally, as Linus pointed out, the kernel gets tested very thorougly in debug builds running with tools like - for instance - Vaögrind that make the claim that the "C" in the kernel is "memory unsafe" not true. There goes your one argument for Rust.
@RustIsWinning
@RustIsWinning День назад
So many tools, mitigations and static analyzers and yet you still end up with critical CVEs LOL
@DrMorax
@DrMorax День назад
​@@RustIsWinningRust community is a cult
@adibemaxwell6111
@adibemaxwell6111 День назад
@@RustIsWinning No programming language is perfect, not even Rust.
@stysner4580
@stysner4580 День назад
Oh is that why we see breaches all the time?! Maybe think about why Torvalds allowed Rust in the kernel. Maybe he realized maintaining all this stuff that is still wildly unsafe under the hood isn't worth it.
@UnidimensionalPropheticCatgirl
@UnidimensionalPropheticCatgirl 23 часа назад
@@stysner4580 vulnerabilities in the kernel are rarely related to memory bugs and even more rarely to the ones rust manages to prevent.
@barbawillow8904
@barbawillow8904 День назад
I think Linus is right, it's religious undertones, not philosophical like you said. When discussions heat up and lower passions toss aside rationality, you can't have argumetns, it's just a battle of believes. And thats religious fanatism in a nutshell
@rusi6219
@rusi6219 6 часов назад
That's ironically only true if you're indoctrinated into the post-modern liberal religion that defines terms in such a dishonest way
@gnagyusa
@gnagyusa 22 часа назад
7:50 : Rust's "freedom through authority" is an oxymoron and it sounds a whole lot like: "freedom is slavery" from 1984.
@demoncorejunior
@demoncorejunior День назад
linux community continuing to remind me why i never participated in the linux community
@adibemaxwell6111
@adibemaxwell6111 День назад
Good. The gatekeeping is working.
@niggacockball7995
@niggacockball7995 15 часов назад
enjoy deepthroating dat microshaft
@stevenhe3462
@stevenhe3462 15 часов назад
For the german string example, the compiler proves more than half of the properties the implementer claims. He can alternatively malloc a Box and just transmute it to whatever he wants, which would be equivalent to what you would do in C, but the compiler would not prove anything about it.
@magnusm4
@magnusm4 День назад
I love Linus. Not only is he super honest and direct. But he also explained why it's not a valid bug and explains every aspect of it and how they work such as ENOENT and ioctl. That's really professional and I wish this was done more, even forcibly to explain what you don't like and what they thing is. And his last point just saying "screw it, I'll do it myself". Perfect. Makes me miss one of the old CEOs of Nintendo who personally went down and fixed the coding problems.
@joseoncrack
@joseoncrack День назад
Agreed.
@asdkant
@asdkant День назад
19:28 So Zig is the centrist dad (?)
@techpriest4787
@techpriest4787 День назад
Regarding Anarchism vs Authoritarian. Even in the Rust community you find that drama. Like Safe Code vs Unsafe Block. I am no web dev but I came across a web crate discussed drama that even made the mainteiner quit because some wanted more safe code than umsafe blocks. I am also not a speed demon myself and more on the safe code side.
@pemifo260
@pemifo260 День назад
well we have dangerouslySetInnerHtml
@logemi9864
@logemi9864 День назад
True, it seems to me that a lot of people in the rust community are so obsessed with "safety" and "correctedness" that it can get unhealthy sometimes. I feel like there are two kinds of safety, one that is proved by the compiler, and one that is proved by the developer, and it happens quite often that the compiler cannot prove that a certain behaviour is safe, but a developer can with logic, and its perfectly fine to use a safe abstraction over unsafe code in this case, ive done it myself a few times in performance critical applications even though i try to stay away from it, but a lot of people seem to get really hurt by this. maybe they think the compiler is the all knowing oracle - w - (which i wish it was due to the amount of time it takes for it to run)
@Daktyl198
@Daktyl198 День назад
The issue there is between an experienced Rust developer and an inexperienced one. For some reason, inexperienced developers have this idea that code written in an unsafe block is faster "because it's not checked" but that's not true. The checking happens at compile-time, not during runtime. Code run inside of "unsafe" is not faster, it's merely meant to do things the language would otherwise yell at you for... like creating bindings for unsafe languages like C. There should be very, very few reasons to use the unsafe block in your code unless you're interfacing with other languages.
@techpriest4787
@techpriest4787 День назад
@@Daktyl198 true. In the Rust forum one made a survey regarding who uses unsafe block for performance. It came as a shock to me that indeed few even do that for performance. But I am still rather new to Rust myself. The up coming Borrow Checker 2.0 will need even fewer unsafe blocks.
@logemi9864
@logemi9864 22 часа назад
@@Daktyl198 well technically unsafe blocks do allow you to bypass some runtime checks, for example, bound checks on slice accesses, which normally would panic if theyre out of bounds, but instead with .get_unchecked results in undefined behaviour, reducing branching, but optimizations made possible by using unsafe blocks are usually not of this kind, it happened once in my case that the compiler couldnt prove the lifetimes of my *very expensive to clone* data, but i could. though, it doesnt seem right to me that even inexperienced rust devs think that the actually expensive checks are done in runtime, the whole point of the language is doing a lot of compile time safety checks
@carstenrasmussen1159
@carstenrasmussen1159 23 часа назад
This is Scandinavia couture we just Shit on each other and this just means Love
@pablolocles9382
@pablolocles9382 День назад
Why do people think that chaos is bad? They are not used to freedom to handle it.
@orbik_fin
@orbik_fin День назад
My go-to argument as a child when mom told me to clean my room.
@hanswoast7
@hanswoast7 День назад
For me chaos is a place of huge potential both good and bad that is missing information, missing understanding and has mostly unpredictable outcomes. "Handling chaos" then means creating some order that works for you while leaving the biggest part still in chaos. It is a form of minimum adhoc order.
@Rod-f6m
@Rod-f6m День назад
chaos is a ladda
@stysner4580
@stysner4580 23 часа назад
Chaos and freedom are not the same thing. Because you live in a stable environment and have technology you are free to do things you like to do. If there was chaos, you'd constantly be putting out fires without getting anything done.
@dansanger5340
@dansanger5340 22 часа назад
Because they've experienced mentally ill, substance-abusing homeless people acting out on public transit, and don't agree that it's the nirvana that some people make it out to be.
@JonathanFraser-i7h
@JonathanFraser-i7h День назад
"The most bike-shedding people possible, which is kernel developers" Have you met frontend devs????? Like they spend half their time talking which specific code of conduct to adopt. That is the epitome of bike shedding, it has absolutely nothing to do with code or code performance and guess what everyone has an opinion.
@Irremnent
@Irremnent День назад
I understand the argument “haha boomer c devs too lazy to document their code”, but couldn’t the rust devs just read the implementation and grep out the call sites to see how the pointers are handled? Anything that isn’t exposed to userspace has no guarantees about stability anyway-it quite literally “just works”.
@CommanderRiker0
@CommanderRiker0 День назад
I suspect a large portion of the Rust community are web developers who are just getting into systems programming, so no they can't figure this stuff out. That last video on the Rust dev claiming he can improve the ext4 filesystem while at the same time saying he doesn't understand how it works pretty much sums up this entire debacle.
@RustIsWinning
@RustIsWinning День назад
Ah yes let me just quickly figure out this C mess that somebody wrote a few decades ago instead of collaborating with the boomers who wrote it 😂
@geek2145
@geek2145 День назад
@@RustIsWinning The Linux kernel is some of the highest quality C code in the world. Anyone contributing to the kernel needs to understand the patterns and abstractions in the existing code base. And, I'm sure, most rust contributors do. I'm sure they've invested the time to do that, give them some credit.
@pistonsjem
@pistonsjem День назад
@@RustIsWinning Go ahead bud, might actually learn something for once.
@Daktyl198
@Daktyl198 День назад
That's literally what the Rust developers did in the end. The problem is that it takes time to do so, and these developers are paid developers. Time is money. They were simply trying to speed up the process.
@Atomhaz
@Atomhaz День назад
I love that low level learning is just in the chat, dropping truth bombs
@luiss.3960
@luiss.3960 День назад
Big ass projects on Rust: - Servo - WASI - Tauri - Firefox (progressively increasing the share of the code) - Deno - Sway (Web3) - Fuel core - Pingora (used in Cloudflare) - Zed (multiplayer text editor) - SurrealDb (munlti-paradigm database) - Sonic (search db) - Cube (data application) - fnm (fast node manager) - biome (old rome tools) - dioxus (fullstack framework) - gleam (functional programming EVM language) - helix (neovim succesor) - neon (serverless postgress) - OpenGMK (open source GameMaker engine) - wasmtime (WASM runtime on top of cranelift) - firecracker (microVMs used for AWS Lambda)
@thanosfisherman
@thanosfisherman День назад
You forgot wgpu
@unknownblueguy6768
@unknownblueguy6768 День назад
And COSMIC
@roan1366
@roan1366 День назад
Bevy the game engine! (Nice list, it's almost like he's saying here that Rust is behind Zig in project count)
@shurizzle
@shurizzle 20 часов назад
helix is not a neovim successor, it can be a kakoune successor. You forgot Rust. Rust is written in Rust and it's huge. uutils is a cool project too MeiliSearch rustdesk redox
@FathDaniel
@FathDaniel 14 часов назад
@@roan1366 If you don't double-check everything Prime says, are you really listening to what he said?
@TheWahdude
@TheWahdude 16 часов назад
I think when you said 'you had to pay for emacs', you meant 'you had to pay for vi'. Vi was built on ed which was AT&T licensed, and it remained built on ed until Vim in the early 90s. GNU Emacs was open source from the get-go.
@TakinProfit
@TakinProfit День назад
Zig is that happy medium between C and Rust.
@CoolestPossibleName
@CoolestPossibleName День назад
and is simple
@HappyUnrealCoder
@HappyUnrealCoder День назад
That is c++ really.
@skuwamy
@skuwamy День назад
oh no! zig is just another C hahaha
@RustIsWinning
@RustIsWinning День назад
Not the Zigooners again 😂
@johndoe2-ns6tf
@johndoe2-ns6tf День назад
@@RustIsWinning not the rust for brains again.
@user-shilov-
@user-shilov- День назад
Ok the take at 6:50 is utter CRAP. Your philosophy is the method by which you contend with the human condition at the deepest level. Your philosophy should inform your religious views, your political views, and even the manner in which you relate to other human beings. Your philosophy dictates your deepest principles, it is how you ground out your beliefs. It is how you justify and understand your moral views. Equating philosophy with politics is absolutely disgusting.
@fastestdraw
@fastestdraw 8 часов назад
Politics reaches deep into the human brain because we have entire sections of the brain dedicated to its practice, providing data to the rest of the brain all the time. When we imagine our own mind we use the parts of our brain trained on modeling other people's, with all the training it has experienced baked in. I'd love if your take were right, but I don't think the view that philolosophy sits at the deepest level of human experience while politics doesn't is rooted in reality. Both massively shape your deepest principals, beliefs and moral views. Considering 'who we are' is not just the mechanical logic of a brain calculating philosophy but also the mechanical process of the brain that made us social animals doing politics and the emotional processes of an animal exploring the world. Putting them in the same category when examining how people interact with each other and the different ways they approach it seems fairly reasonable.
@user-shilov-
@user-shilov- 5 часов назад
@@fastestdraw Politics may be a more used pathway/network in the brain. I would expect as much on an average, but most people don't ground out their politics to morals and ethics to philosophy. Philosophy must be the underpinning of a thoroughly investigated worldview. It may take up less brain space, it may have less contact with your conversations, and your interactions with the world. From a reasoning perspective you politics `aught` to be derived soundly from philosophical principles. However I would say this is the case for 1-200 individuals if not less. Most people pick up policies and political alignment based on intuition, or they simply identify with an entire group or party. They align with a political party because that is who their friends and the people they look up to are aligned with. I would never expect a study on the human brain over an average population to reflect what I described above. I also role back the statement on how philosophy effects your relationships, the impact may be profound but likely because of second order effects. For example if your philosophy lead you to being an atheist while your family was very religious. This can have a major impact but again that impact isn't direct. I would also stray from saying that dedicated portions of the brain are used for politics. I think politics would occur in the same portions of the brain as most other higher order information processing. The PFC, the ACC, and a bunch of other places too. I would expect philosophy to use those exact same regions as well, except for some differences, I think philosophy would be more abstract thinking and politics would involve more social and emotional processing. In terms of brain function maybe politics would have more Amygdala use versus more DMN use for philosophy. However that is all very tentative speculation.
@fastestdraw
@fastestdraw 4 часа назад
​@@user-shilov- Agree on the brain region/function, we do have parts of our brain that seem highly correlated with imagining other minds and predicting their actions, but that is highly unlikely to be the only place in the brain that is happening or the only thing that region does. Couple with both language development and abstract thought appearing to be linked in our evolutionary history, and seperating out philosophy and politics gets even muddier, the comparison between them more apt. Most people aren't sitting around logically reasoning out a philosophy using the building blocks scholars use to describe the world- they are seeking out things and returning to raw experience to see what works - 'is an idea true when I use it in my hands.' The same process is going on with politics. This approach is both fundamentally collaborative, political, sits firmly in that second circle, and results in abstract reasoning derived soundly from the source of philosophical principal - experience. I can't argue that it isn't the practice of philosophy. It grounds out morals ethics politics and yes, philosophy, in a group basis. No man is an island, and neither is our understanding or reasoning. And most people have a deeply explored worldview that doesn't deserve dismissal or disgust because it fails to fit neatly into your world view. If only 1-200 people have done something accessable to 8 billion on the planet presently, I am inclined to think it is a sampling error. But I'm willing to hear out why this 'aught' to still be considered, compare that to my experience, and see if it seems both true and functional.
@pashadia
@pashadia День назад
I'd really love to see Prime do a reading into actual anarchy in practice - maybe CNT and the Spanish Republic?
@Jabberwockybird
@Jabberwockybird 20 часов назад
Or Chaz
@foxadee
@foxadee 16 часов назад
@@Jabberwockybird i forgot about that shit. that was funny until people actually started getting hurt.
@Jabberwockybird
@Jabberwockybird 48 минут назад
@@foxadee It was never funny. Commies are idiots. ACAB people are shortsighted. Anarchists are pawns of communist authoritarians.
@stysner4580
@stysner4580 День назад
It's so funny to me. The Rust team is focusing so much on pandering to Linux devs for features, prioritizing Linux dev's requests over the other 99% of their userbase. All while Linux devs themselves can't even decide if they want to keep using Rust or not. Please, please, please just let the LInux devs fix their own shit before pandering to them...
@monsterhunter445
@monsterhunter445 День назад
Huh
@SussyBaka-nx4ge
@SussyBaka-nx4ge День назад
​@@monsterhunter445the Rust compiler team is focusing on features that Rust for Linux wants rather than anything else, despite Rust for Linux not even being a sure thing. It would be like gcc prioritizing the Linux kernel devs rather than just trying to be a good c compiler
@zzrroott6459
@zzrroott6459 День назад
99% of their userbase 😂 hehe
@stysner4580
@stysner4580 День назад
@@SussyBaka-nx4ge Exactly. On Reddit a similar comment got downvoted into the ground by people that didn't know that, with multiple aggressive replies. The Rust community is getting more and more of a cesspool the last couple of years.
@qqshutup7175
@qqshutup7175 3 часа назад
Two languages at the same time will cause problems for everyone. Fork the repository and make your own changes has always been possible!
@andersonklein3587
@andersonklein3587 День назад
It is fitting that when drawing the circle of life at 7:10 C is inside god's circle and Rust is left out of the circles of life entirely. lol Jokes aside, your description of why C vs Rust is such a hot debate is flawless. The only thing is: since they are competing for the same low level code positions, I don't know that there is a nice solution to the dilemma, I think this knife fight will continue indefinitely because order vs anarchy is too fundamental.
@Daktyl198
@Daktyl198 День назад
Pretty much hit the nail on the head. C developers don't like Rust developers because they think they're coming for their jobs. If C code is replace by Rust, then the C developer has to learn Rust or they're out of a job.
@FathDaniel
@FathDaniel 14 часов назад
@@Daktyl198 Hard disagree. Even if Rust magically replaced the codebase, you still have to talk to the outside world that's mostly C. They would lose clout and importance but not their job.
@Daktyl198
@Daktyl198 14 часов назад
@@FathDaniel very little of the world outside of kernels and the lowest level programs use C, and even kernels and those low level programs are slowly being converted to other languages in both macOS and Windows. Linux is actually behind the curve with this, but that’s not new. Linux is ironically much slower to adopt new ideas than macOS or Windows due to its reliance on semi-religious idolatry rather than programmers just following the boss’s orders.
@mback3713
@mback3713 День назад
There was more nuance to the discussion than a rage against Rust. The subsystem maintainer in this instance was just standing up to say, "Im seeing all these new type annotations starting to pop up everywhere in the kernel because of rust... If the rust folks think they need annotations all over the place - well, I'm going to continue my development in C, and I'm sorry to say that I really am not interested in supporting those annotations. If Rust needs the annotations, then someone from the Rust community is going to have to support those annotations."
@amotriuc
@amotriuc День назад
I think you nailed in short the C devs concern.
@jeffwells641
@jeffwells641 День назад
What about the previous dozens of presentations that were interrupted? Apparently this behavior goes back 20 years. Seems a lot different than a "nuanced discussion".
@JorgetePanete
@JorgetePanete День назад
I'm*
@leonardschungel2689
@leonardschungel2689 День назад
That is a valid concern and also a valid respond. The real issue is however with how the involved parties talk about their different opinions. Its fine for a c dev to want to continue to program in c, it is a different thing however if the rust team and the c team refuse to collaborate at a basic level when changes to the kernel are made. From what i can gather, the rust team is totally fine with supporting the annotations themselves but they at the very least would like to know when changes to the system are made. I think goes further than "i want to continue to use c" when the rust team only finds out about changes to the system when the code doesnt work anymore.
@amotriuc
@amotriuc День назад
@@leonardschungel2689 this is not a refusal, C dev are more experienced and know this will not work well. In the purposed solution C dev will not be able to do development without knowing rust, any C change can break rust binding. What they should do? Pair programming? One C and one Rust? And if you think they will be able to do changes separately you are kidding yourself it will be nightmare for Rust and C devs. In order for this to work well you need clear defined boundaries between C and Rust which are not part of the solution.
@Musikur
@Musikur 16 часов назад
I think the heart of the comment about Linux vs Unix wasn't FOSS vs Closed Source, it was more that if enough people think that it is too difficult to get the features or fixes they want for Linux through the bureaucracy of Linux, they will go and move to somewhere else where they can get those features. Whether that is true or not, remains to be seen, the friction to create a new OS kernel is obviously pretty huge, so there would need to be a lot of discontent. That being said, as Prime pointed out, with Docker and so on, its probably a lot easier to get traction now than when people had to literally install your software on a machine.
@zfl1981
@zfl1981 День назад
When OpenBSD embraces Rust (in its Kernel), I will embrace Rust. Not a minute before.
@_Safety_Third_
@_Safety_Third_ День назад
OpenBaSeD
@JMurph2015
@JMurph2015 16 часов назад
For what it's worth, around 2017/2018, Linus took a sabbatical to work on his communication style, and since then he's been much more diplomatic in his criticism! Respect where it's due, he got called out for a toxic communication style, acknowledged the issue, and then made a change!
@michaelbuckers
@michaelbuckers День назад
Rust is the job security language.
@_Safety_Third_
@_Safety_Third_ День назад
Perl is the job security language 😏
@stysner4580
@stysner4580 23 часа назад
It really isn't. C/C++ means you always have work everywhere in the world. If you want to make a lot of money you should learn some of the obscure languages that are still used for very specific things, like Erlang.
@_Safety_Third_
@_Safety_Third_ День назад
They should just rewrite in Perl 6
@EliasOjeda-mv6cg
@EliasOjeda-mv6cg День назад
zig makes more sense than rust in the kernel imo
@RustIsWinning
@RustIsWinning День назад
Not even close 😂
@Daktyl198
@Daktyl198 День назад
Zig doesn't provide that many improvements over kernel C, the variant of C made specifically for the Linux kernel. Linus wanted a language that was different enough, that also provided actual benefits to the kernel. Thus he allowed Rust in.
@theherk
@theherk 7 часов назад
How does a pre-v1 language, already very similar to C, and not offering any additional rigorous safety guarantees make more sense?
@mmmhorsesteaks
@mmmhorsesteaks День назад
Freedom from anarchy vs Freedom from authority can be read in two totally different ways. English is just as bad as javascript; and used by about as many people.
@NotherPleb
@NotherPleb День назад
I think it's religious in the sense that devs believe in the "only true way", and stop being rational to follow their "way" as a religion.
@jackOfAllTrades93
@jackOfAllTrades93 19 часов назад
So many libraries and techniques were already developed in the Linux code base to address unsafe scenarios in C. It would be an enormous time investment to re-write all of that and I just don’t see value add in doing so.
@xephael3485
@xephael3485 День назад
What takes longer... learning RUST or learning how not to make security mistakes programming in C?
@Ytilee
@Ytilee День назад
"learning to not make mistakes" isn't really a thing though
@xephael3485
@xephael3485 День назад
@@Ytilee your mistake was not making a point, as you're absolutely wrong
@RustIsWinning
@RustIsWinning День назад
I would say it takes longer for boomers to retire ♿️ Way too long...
@xephael3485
@xephael3485 День назад
@@RustIsWinning Linus is not a boomer buddy
@johndoe2-ns6tf
@johndoe2-ns6tf День назад
@@RustIsWinning yes, you are way too long from your institution and meds. Go back, take your meds and rest.
@testtest-co9hk
@testtest-co9hk День назад
imagine you having this discussion in a retro, PO will be like f&*() it and just get the mvp done.
@LabelsAreMeaningless
@LabelsAreMeaningless День назад
Culture doesn't flow from the top. It evolves over time from shifts at the bottom and has done throughout history. When it comes from the top it isn't a natural culture shift, it's force and always results in massive backlash and usually a complete splitting of the community/population.
@random_bit
@random_bit День назад
you clearly have never been in a cutthroat corporation
@stysner4580
@stysner4580 23 часа назад
Have you ever worked in any kind of hierarchy at all?
@jamesrivettcarnac
@jamesrivettcarnac 19 часов назад
16:35 Linus being the voice of reason and a bridge builder. What a time we live in.
@xFabi99
@xFabi99 День назад
Giving you the tools to be safe but not forcing it? Zig sounds like C++ to me then..
@darukutsu
@darukutsu День назад
zig is like c fixed recommend to check Andrew Kelley's presentation behind creating zig.
@isodoubIet
@isodoubIet День назад
Zig is much, much worse than cpp.
@seargd1
@seargd1 18 часов назад
If you believe that Linux can't be displaced in 10 years as the default open source kernel or that nobody could possibly write a replacement for it in Rust in the same timeframe, just remember that it wasn't that long ago that Internet explorer had 95% market share.
@Brunoscaramuzzi
@Brunoscaramuzzi День назад
Why not just develop Redox until it is as good as Linux!? Problem solved!!
@Edge10
@Edge10 23 часа назад
Too much like hard work. Far easier for one group to place demands on an existing project.
@GrizikYugno-ku2zs
@GrizikYugno-ku2zs День назад
11:12 Prime having a good memory of his father ♥️
@DeerDesigner
@DeerDesigner День назад
“You need 100 lines of Rust to replace 4 lines of C” - sure, but those 100 lines encode all the edge-cases you need to think about like who owns the data, how long it lives for, how it has to be handled etc while in C you get none of that and you have to pray whoever wrote that code has written a 100 line comment above the structure definition
@sbdnsngdsnsns31312
@sbdnsngdsnsns31312 День назад
Would you rather read 100 lines of rust of 100 lines or comments?
@SimGunther
@SimGunther День назад
Examples plz
@morkallearns781
@morkallearns781 День назад
@@sbdnsngdsnsns31312I would 1000% rather trust a compiler versus trusting every random dork that touches the kernel
@computernerd8157
@computernerd8157 День назад
Show evidence of this or I am not buying it.
@michaelbuckers
@michaelbuckers День назад
All the edge cases that don't normally exist but you created them so you can solve them.
@chbrules
@chbrules 23 часа назад
As someone who just learned C recently, I couldn't imagine moving to Rust. I went from C++ to C because of OOP. I'm done with it. I've also picked up Go because I was curious in its C-like simplicity. I love both Go and C now, and they cover so much use case it's wonderful. Too bad the Zig team can't pull their shiite together and come out with a 1.0 spec standard. I feel like Zig would have been the best compromise for the Linux Kernel moving forward.
@stretch8390
@stretch8390 21 час назад
My understanding is Zig would have the same friction though because the rust devs were saying the semantics weren't clear without documentation.
@dansanger5340
@dansanger5340 18 часов назад
Rust is multi-paradigm. You can write software in Rust without using OOP.
@the-answer-is-42
@the-answer-is-42 13 часов назад
Minor nitpick around Ladybird, while competing with Chrome is an aspect of it, another was that it was born out of Serenity OS because the guy who made Serenity wanted it to have a browser. Don't know how realistic it is to port Chrome to your personal hobby OS, but they decided not to do that (iirc, part of Serenity OS is that they make things themselves).
@da40au40
@da40au40 День назад
Just use the same tool you have being using. C is the perfect choice.
@MiaChillfox
@MiaChillfox 20 часов назад
Pretty sure you could eat a significant chunk of Linux market share if you made an OS in a memory safe language that can run in the big clouds and can run Linux Docker containers.
@vantadaga
@vantadaga День назад
Rust does have a particularly cultish community
@RustIsWinning
@RustIsWinning День назад
Incorrect 🦀
@Daktyl198
@Daktyl198 День назад
Stems from the weird pushback on Rust as a whole. The more people hate on Rust as a language, the more fanatic that Rust developers feel about the language they like. If people stopped hating on Rust for literally no reason, Rust developers wouldn't be nearly so bad about it. It's a well studied behavior in a lot of groups.
@matthewmurrian9584
@matthewmurrian9584 День назад
​@@Daktyl198 So you are saying that there are literally no reasons for anyone to dislike Rust? That's literally only an opinion that a cult-member could have about anything, ever.
@RustIsWinning
@RustIsWinning День назад
@@matthewmurrian9584 Give us all your hate. We do not care :D
@Daktyl198
@Daktyl198 День назад
@@matthewmurrian9584 Languages are tools. You may dislike writing in one, but there's no reason to then go online and seek out discussions about that language and actively hate on the language in that space. You don't see droves of people going into discussions about Go and saying "holy shit, I hate Go so much. Everything about it is bad and the people that use it are worse!". One or two weirdos, but not on the level that people that hate Rust do it. If anything, the people that hate Rust are a bigger cult than the people that like it lmao. For the record, though I like Rust I actually prefer writing in C#.
@Euphorya
@Euphorya 23 часа назад
Linus gets this stigma of always being a screaming abusive maintainer, but he is not. He's not afraid of calling people out when they are continually making the same mistake, and those always make the news, but the vast majority of the time he is a pretty chill dude.
Далее
CloudFlare - Trie Hard - Big Savings On Cloud
26:04
Просмотров 30 тыс.
Why I Prefer Exceptions To Errors
1:05:31
Просмотров 108 тыс.
НОВЫЙ РОЛИК УЖЕ НА КАНАЛЕ!
00:14
Просмотров 541 тыс.
iPhone 16/16 Pro Review: Times Have Changed!
20:41
Просмотров 3,2 млн
Git Flow is Bad | Prime Reacts
34:31
Просмотров 260 тыс.
Amazon Says Return To Office Or Get Fired
59:33
Просмотров 190 тыс.
Hans and Kramnik did something INSANE
30:32
Просмотров 33 тыс.
...Will Save Your Life Next Week
13:25
Просмотров 1,1 млн
DHH Is Right About Everything
2:02:54
Просмотров 224 тыс.
Everyone Thinks I'm Wrong About Training
13:03
Просмотров 389 тыс.
Solving distributed systems challenges in Rust
3:15:52
Просмотров 239 тыс.
Why CoPilot Is Making Programmers Worse
21:31
Просмотров 96 тыс.