Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Contributor

Install

  1. Install Rust from Install Rust
  2. This is interactive so needs to run in a terminal
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    Hello World
    
    Rust Hello World https://doc.rust-lang.org/book/ch01-02-hello-world.html​
  3. Reload your session and terminal to update the PATH env
  4. Run
    rustc main.rs
    
    main.rs
    
    
    
    …​

Why Rust? 

Original Post from Stack Overflow:  what is rust and why is it so popular

Rust has been Stack Overflow’s most loved language for four years in a row, indicating that many of those who have had the opportunity to use Rust have fallen in love with it. However, the roughly 97% of survey respondents who haven’t used Rust may wonder, “What’s the deal with Rust?”

  • Rust’s static typing does its best to get out of the programmer’s way while encouraging long-term maintainability.
  • Rust gives you the choice of storing data on the stack or the heap and determines at compile time when memory is no longer needed and can be cleaned up.
  • The biggest benefit Rust can provide compared to these languages is the borrow checker.
  • The Rust experience is larger than a language specification and a compiler; many aspects of creating and maintaining production-quality software are treated as first-class citizens.
1,237 Views
0 Kudos