There are many programming languages out there, each with its own strengths and weaknesses. But what makes the Rust programming language so special...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
I'd also check out Exercism's rust track, it offers good learning exercises and mentoring for learning lots of languages, and it does a good job of teaching the concepts in each language it has :D
Hey thank for sharing !
What is the hidden power of rust? It is in your title. If you had to say it was one thing, what would it be?
I think the variable ownership model is the hidden power of rust
For me it is Performance !
I have a love and hate relationship with Rust.
I love Rust and want to program with it, but the adoption speed is not that great, sadly I'm in web/software development where JavaScript and Kotlin dominates this side of the world.
Nice write up! As an avid Rust user (although far from professional) I believe you missed the most important quality of the language -- it's so much fun! I really enjoy writing Rust! It has nice modern features and the tooling around it (cargo, crates) are easy to use.
Bagron was my go to guy on YouTube when I initially took up Rust. I learned so much from him. I can't recommend him highly enough.
Any link? A quick search on youtube or google does not return any results for 'bagron rust tutorials'.
Here you go.
youtube.com/c/LetsGetRusty/playlists
Thank you! These look awesome.
This is wrong, the c++ compiler is just as good as optimising as the rust compiler. If your using clang rust and C++ use the same backend (LLVM). Rust and C++ will put out binaries of the same speed and c++ binaries are normally smaller. Where on earth did you get this information? I love rust but this is just wrong.
Actually C++ is generally faster than Rust in some scenario, but if you use certain safety features in Rust, it can start to slow down. However, the faster compilation speeds are worth the extra time, since it can help avoid difficult issues later on. Ultimately, it comes down to personal preference and what you're looking for in a language.
I think we are in agreement.
great information but i think C++ best choice for Beginner's to know the Language basics
Maybe you are right , Rust for beginners is little bit difficult
clear and concise, love it!
tho i think you could've mentioned Rust by Exemple :)
Thank you ! I will check it maybe I will mention it
Hmmmm
Does it allow for desktop applications? Can they easily host a browser?
Definitely! But please keep in mind that Rust takes a lot of effort in the learning process, It's not as ruby, python or JS that you can start using and learn by practice cause I've done that first and it was an awful experience. I was like: "what does that mean for this to have short lifetime? Why you can't borrow something twice mutably? What's this trait thingy? the borrow checker makes no sense" If you came from a higher level language like me then there are a ton of low-level details that you'll be missing, recommend reading the rust lang book before starting a project, It's fantastic 👌
I definitely agree with you ! I also learned some High level programming language like python js or even java, but the learning process for RUST is completely different and takes more time. At the end I am sure that is worth :)
For the desktop application part then yeah, but keep in my mind that the ecosystem isn't very mature as if you would develop it with C++ or ElectronJS, that being said everything is possible with some workarounds and creative design patterns.
For a production example, check Deadliner
Hi John rust is powerful backend language! Whatever which platform on the front
Check out Tauri tauri.studio/
I see no important information here, you are not talking about power of rust you are just saying rust is better than cpp. And most of the time this kind of comparisons are for fun. In real world you may use any tool based on your needs. I was expecting more details about the rust itself, I don't really care about which one is better or not.
Thanks for sharing
I've clicked on the Discord link but it is now invalid. Is there another place I can go to find it?
Rust is the overcomplication of safety. Zig is the simplicity of safety.
If you want a language with the advantages of rust, but a much easier syntax, just switch to Nim 🤓
nim-lang.com