Comments by "" (@diadetediotedio6918) on "Rust Is Coming to The Linux Kernel and I'm Not Sure How to Feel" video.
-
14
-
7
-
6
-
5
-
4
-
@autistadolinux5336
In fact, I didn't mean it. Traits are quite common in some languages and it's not a new concept at all, what's new about rust is its memory management, something I've never seen done by any language before it (I mean the way it's done) . Out of very few resources like this the language could be compared with literally any other, monads, immutability, discriminated unions, these are concepts present in dozens of languages out there, immutability by default and motion semantics (by default) is one of the things which makes me think it breaks a little bit, but not much, with C-based languages (just see for example the way most C-based languages simply copy the values during assignment, this is not a default behavior in Rust), which is why I don't think it has that much to do with C++.
3
-
2
-
@autistadolinux5336
I wouldn't say it's C++ like in fact, I've had the "chance" to work with C++ for quite some time, and while I'd say Rust isn't close to C, it's not exactly close to C++ either. The truth is that Rust draws from many different sources, including a very strong influence from functional and multiparadigm languages (even Ruby gets into this), and while it has serious similarities to C++, the same could be said for most modern languages out there. In my view, Rust is much more of a functional language than an object oriented one for example, it simply has different ways of dealing with things (e.g. the notion of immutability by default), and in some ways I would say it is a language unique in itself.
That said, I only use rust when necessary, I mean, you don't need to use a low-level language 90% of the time, C# or even JavaScript are quick and easy solutions to use. If I needed to make a small low-level project fast I would probably use C for the simplicity and tactileness of the language, and if I needed something more robust and secure I would use Rust, languages are just tools and we need to get the ones that serve us the most.
2
-
2
-
2
-
2
-
2
-
2
-
2
-
1
-
1
-
1
-
@anon_y_mousse
So honey, that's it. If you weren't convinced by these extremely obvious things I said, what would convince you? Absolutely nothing I could say in a youtube comment. Your mind is plastered and full of resentment, and that's just it, see how you yourself assumed that people "would have no idea what they do" when all I said is that a better tool provides a better quality in your service , you are only defending your position ideologically.
I can literally think of an ASM programmer advocating that C would be "a problem and that compiled code is not always predictive, that you need to master hardware programming at the lowest possible level and that if so you will never make mistakes" and that should not adopt it, just as I can think of a doctor refusing to use new safer, less brittle syringes because "a good doctor would never let the needle break in a patient's veins", or some pharmacist saying that the new methods of mixtures are for "inexperienced pharmacists, and that if you are an excellent pharmacist you will never need these new methods". At the end of the day it's just that, an irrational resistance to change. Thank God enough people didn't think like you and actively found new, better and safer ways of doing things, because if we depended on people like you humanity would still be hunting with stone tools, it's that simple.
1
-
1
-
1
-
1
-
1
-
1
-
@Tachi107
Don't worry, I meant it sounded aggressive, in the sense that it sounded a lot more provocative than it should have, but I can understand what you mean. Well, I personally think that Torvalds, being the creator of Linux and the one who names the kernel itself, has had enough time to consider all these issues, and frankly, I imagine this is going to be more of a test than an absolute implementation, then we will be able to see in practice whether or not these language problems will really prove to be insoluble problems, or if they will just be considerations to improve it over time, I believe it is insufficient to drop an entire language that has so much power, like this (there is a lot of more rust than borrow-checker, safe concurrency is one of its big selling points too, and that's quite interesting for a kernel). I think in terms of standardization this isn't a big problem either, I mean a good part of the reason why C/C++ are such "static" languages is because they aren't willing to change quickly to solve their problems, the rust developers have been very helpful over the years and the language has been making great strides (from the article itself, it seems to me that the current barrier to solving that question is much more a proper formalization of the problem and the solution than a unavailability of wanting to improve, which is extremely positive in this case). And as for low-level stuff needing to be implemented, that might be an unpopular opinion, but I also don't think that's a big issue, Rust is known for its stability and it seems to me that if it's possible to solve problems using this, it's probably a good solution (mainly in view of the control and fine-tuning that this brings).
Don't get me wrong either, I've been a C# programmer much longer than I've been a rust programmer, and I also have my taste in C (an absolutely beautiful language indeed), and my dislikes with C++, I just try to see how many of the criticisms made of language are effectively criticisms of impediment and how many are, how to say, just a very immediate reaction. In the end, I'm hoping that the addition of the language will make the kernel more powerful and not worse at all (considering all that people have been saying about Rust, such as the recent statements by the Microsoft guy, and the fact that Torvalds himself has said that the language won't do any harm to the kernel, I believe it's a perfectly valid belief, these people wouldn't say that without reason).
1
-
1