Is rust an improved version of C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is rust an improved version of C++

17th Jun 2018, 8:01 AM
Hethal
Hethal - avatar
6 Answers
+ 6
I have recently decided to put more interest and effort into Rust than C++ and have been thoroughly impressed with tooling support, performance, ease of building and packaging, and safety. Frankly I think C++ won't die anytime soon, but I'm placing my bets on Rust becoming a large player in systems programming alongside Go and Kotlin too.
18th Jun 2018, 3:23 AM
Maxwell Anderson
Maxwell Anderson - avatar
+ 5
I browsing the internet and stumbled upon a new language. which seems as an upgrade from C++ / ///////////////////////// RUST 1. Rust was voted Most Loved Language in the 2016 StackOverflow developer survey and could be the answer to your quest. It was developed by Mozilla as an alternative to C++ and enjoys support from Samsung. 2. It is designed to have similar capabilities in terms of memory management and performance as C++ but with more checks at compile time to avoid expensive bugs caused by dangling pointers, buffer overflows and the like 3. Decentralised networking company Maidsafe spent six months reducing itโ€™s entire codebase of 500,000 C++ lines to a compact 30,000 lines of Rust, increasing stability at the same time. //////////////////////////// I personally love C++ but I am geeking out on the thought of learning it. which makes me feel like I am cheating in C++ ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚. what do you guys think.
17th Jun 2018, 8:14 AM
Hethal
Hethal - avatar
+ 3
๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚ I feel the same
17th Jun 2018, 8:57 AM
Hethal
Hethal - avatar
+ 2
rust is really cool but i see it more as a replacement for c and not c++. rust is kind of a mix of c and a functional programming language. the checks in rust are free because they are done at compile time, so they donโ€˜t impact performance
17th Jun 2018, 10:00 AM
Max
Max - avatar
+ 2
Maxwell Anderson just wondering whether the syntax is the same
18th Jun 2018, 6:37 AM
Hethal
Hethal - avatar
- 1
Rust is similar to C++ in the same way that C# is similar to Java. It sort of looks similar, but once you get into it they are very different.
29th Oct 2020, 5:48 PM
Aria
Aria - avatar