Rust Malaysia has hosted a few meetups in Kuala Lumpur in the past few months. We are now planning to host it

Rust is a systems language pursuing the trifecta: safety, concurrency, and speed.

Dear Malaysians, welcome to Rust Programming Language! To get started, use rustup.rs which streamlines the rust installation processes.

$ curl https://sh.rustup.rs -sSf | sh

Bootstrap a new rust project (or just use rust playground).

$ cargo new hello
$ cd hello

Edit the rust source files in src/main.rs, need not to worry about the !. Due to the diversity of cultures in Malaysia, we will use multiple languages.

fn main() {
    // note that this is sorted by length in terminal
    let greetings = [
        "ஹலோ, மலேசியா!"
        "你好,马来西亚!",
        "Hello, Malaysia!",
        "Apa khabar, Malaysia!",
    ];

    for greeting in greetings.iter() {
        println!("{}", greeting);
    }
}

Build and profit!

$ cargo run

For more resources on rust, check out the official rust docs.

We will probably publish resources discussed during rust meetups in Malaysia. Stay tuned for more posts! :)