Rust Documentation 

On the off chance that you haven't seen Rust at all yet, the main thing you should read is the prologue to the book, The Rust Programming Language. It will give you a smart thought of what Rust resembles, demonstrate to you best practices to introduce it, and clarify its linguistic structure and ideas. After finishing the book, you'll be a transitional Rust engineer, and will have a decent handle of the major thoughts behind Rust.

Learning Rust 

The Rust Programming Language. Otherwise called "The Book", The Rust Programming Language will acquaint you with the fundamental themes essential to learning Rust, and come to the heart of the matter where you can be gainful. The book is the essential authority archive of the dialect.

Rust by Example. A gathering of independent Rust cases on an assortment of themes, executable in-program.

Oftentimes made inquiries. 

The Rustonomicon. A whole book devoted to disclosing how to compose perilous Rust code. It is for cutting edge Rust software engineers.

rust-learning. A people group kept up gathering of assets for learning Rust.

The Rust Programming Language

There are two versions of "The Rust Programming Language":

In the first place release

Second version

The second version is an entire re-compose. It is still under development, however it is sufficiently far along to learn the vast majority of Rust. We propose perusing the second release and after that looking at the principal version later to get a portion of the more recondite parts of the dialect.

Featuring

  • zero-cost abstractions
  • move semantics
  • guaranteed memory safety
  • threads without data races
  • trait-based generics

  • pattern matching
  • type inference
  • minimal runtime
  • efficient C bindings

Rust Code sample:

fn main() {
    let greetings = ["Hello", "Hola", "Bonjour",
                     "Ciao", "こんにちは", "안녕하세요",
                     "Cześć", "Olá", "Здравствуйте",
                     "Chào bạn", "您好"];

    for (num, greeting) in greetings.iter().enumerate() {
        print!("{} : ", greeting);
        match num {
            0 =>  println!("This code is editable and runnable!"),
            1 =>  println!("¡Este código es editable y ejecutable!"),
            2 =>  println!("Ce code est modifiable et exécutable !"),
            3 =>  println!("Questo codice è modificabile ed eseguibile!"),
            4 =>  println!("このコードは編集して実行出来ます!"),
            5 =>  println!("여기에서 코드를 수정하고 실행할 수 있습니다!"),
            6 =>  println!("Ten kod można edytować oraz uruchomić!"),
            7 =>  println!("Esse código é editável e executável!"),
            8 =>  println!("Этот код можно отредактировать и запустить!"),
            9 =>  println!("Bạn có thể edit và run code trực tiếp!"),
            10 => println!("这段代码是可以编辑并且能够运行的!"),
            _ =>  {},
        }
    }
}



0 comments:

Translate

GoogleTech786. Powered by Blogger.

Subscribe Youtube

Our Facebook Page

Wikipedia

Search results

Popular Posts

Adsense