Comments by "Anony Mousse" (@anon_y_mousse) on ""Programmed in Rust" is not a feature" video.
-
4
-
You probably won't read this even if YouTube doesn't delete it, but as someone who has been learning Rust over the past two or three years, I can tell you that it's not a good programming language. Every feature that they tout as being so much better than C was already in C++ and done with a better syntax. If you write idiomatic C++ then it'll be just as safe as Rust yet more performant than Rust. However, C++ makes it easier to write this code and is easier on the eyes. Constructors in Rust are basically constructors in Object Pascal, except it resembles Java a bit more because of the jagged usage of memory handling functionality. The thing that Rustaceans don't seem to get is that not every pointer should be a smart_ or shared_ ptr. Just like when C# first cropped up, I hated this weak garbage of forcing an unsafe keyword on the users just to use code that makes sense. One of the key problems with Rust is that they added with syntax while C++ added with more code. Yeah, there were some dumb additions over the years in C++ to solve problems that shouldn't have existed in the first place, but they were generally well placed additions. First few that come to mind in case anyone does see this and asks, r-value references, attributes, lambda captures and arrow returns.
3
-
2
-
1
-
1