Rust vs C++

64,659
0
Published 2024-01-04

All Comments (21)
  • @aniketbisht2823
    C++ is not an OOP language. Its a multi-paradigm language which lets you develop Object oriented systems. You can mix and match various paradigms to solve your problem as it seems fit. It doesn't force you to follow a certain methodology. For example : in OOP languages like Smalltalk and Java, everything is an Object which certainly not the case with C++.
  • @LagFlicks
    6:45 clearly this was a secret coded message to tell us to use Go
  • @aboliguu1168
    The main reason why learning c++ is still the better option in my opinnion is that everyting serious is written in it, so you have infinite resources to learn software development straight from the source. For example, amd’s fsr3 is open source and written in c++, want to know how it works? Helps a lot if you know c++
  • @nebularzz
    The Rust compiler praises the developer and the Rust developer praises the compiler Not with c++ though they hate eachother
  • @SomeRandomPiggo
    C and C++ will never be replaced, in the past 30 years so many languages have risen and fallen, but C (especially) and C++ have really stood the test of time
  • @mathieucayeux
    Thats way better ! You've improved a lot the quality of the video compared to the old one ! You took reasonable arguments from boths sides and it seems alltogether way less biased. Bravo !
  • @the_fl3dd0x
    Respect for improving the video after constructive feedback from your viewers. This sadly isn't a matter of cause anymore on YouTube. I think it's an amazing video now. Greetings from Germany❤
  • @virusblitz
    Nice! The video truly is much better after the remake, thanks for owning up to your mistakes and handeling critisism so well :)
  • @aerosoftware
    If you want to be a true backend developer, master both languages, C++ (especially latest standard) and Rust.
  • @Josh-kw7zk
    4:19 The java virtual machine sometimes it's kinda wild lmao.
  • Lockheed Martins F-35 runs on and uses C++ There are hundreds of thousands of jobs within C++
  • @aniketbisht2823
    Problem with Rust for writing low level code is that, not only you have to jump through several hoops to do what you want (get desired assembly with zero extra overhead) but the resulting code is very unreadable and also difficult to change. Readability and the ability to quickly change/iterate through multiple implementation strategies (with their own trade-offs) is crucial for writing performant low-level code. The language also enforce various runtime checks (which cannot be disabled at runtime like C++ asserts), so even if you strive hard to write correct code by using formal methods, testing it religiously etc, you would still be paying for them at the runtime or your code would be littered with unsafe blocks (which defeats the whole purpose while also making you code less readable).
  • Just use whatever you want, I don't think it ever had any point on this discussions. Obviously it does not mean the discussions in are pointless, in fact it is pretty needed because security in software development, but for most people this does not matter most of the time. You should engage in these discussions when you are actually planning on making something that can affect peoples lives if it fails, and discuss why it is not more justified to use a language that is built to be safe instead of one associated with unsafety. People have good points on both sides, like static analyzers and the dont's of static analyzers, but the discussion does not make sense if you are making a game or a simple software, chill and make it wether in Rust or C++ or really anything at all.
  • Of all the points, I cannot agree that C++ is a better option for larger scale applications. When there are multiple people working on a project, it's so hard to keep track of reference lifetimes or multithreaded safety, and that's where Rust absolutely shines - it will hold your hand and tell you that your code is unsafe without digging into other people's code.
  • @adamduda7077
    "In fact jesus himself used c++ whitch is probably the reason why he was crus-" that really got me 💀
  • In c++, it is hard to shot yourself in the foot, but when you do you can blow your leg off. In rust, it is impossible to shot yourself in the foot, because you are forced to remove both of your legs.
  • @exoticlol
    I love how you remade the video. Btw, I was in your drunk VC, but I was troublehsooting an issue with my mic, so I couldn't talk. Edit: Remember when you were making something, and it wouldn't work, so you had to make a new project and start over? The problem was with your 'debug' script, it was attempting to run "/src/index.js" but you didn't have an src folder.
  • @tabbytobias2167
    y not just do what nim did? (but without indentation cuz screw that) make high level code compile to c++, and add option to write c++ for control. 🤔