Gal Normal

Hey, I heard Rust is a popular programming language. What's it all about?

Geek Curious

Rust is a systems programming language designed for safety, concurrency, and performance.

Gal Happy

Sounds cool! Can you show me a simple example using Rust?

Geek Smiling

Of course! Let's start with the famous "Hello, World!" program.

Step 1: Installing Rust

Gal Excited

First, we need to install Rust, right?

Geek Nodding

Exactly! You can install Rust using the official installation guide at

Step 2: Creating a New Rust Project

Gal Wondering

Now that Rust is installed, what's next?

Geek Happy

Great question! We'll create a new Rust project using the command line.

cargo new hello_world
cd hello_world

Step 3: Writing the “Hello, World!” Program

Gal Eager

I'm ready! Let's write the "Hello, World!" program!

Geek Smiling

Sure thing! Open the "" file inside the "src" folder, and write the following code.

fn main() {
    println!("Hello, World!");

Step 4: Running the Program

Gal Enthusiastic

Now let's run our program!

Geek Ready

You got it! In the command line, type "cargo run" to run the program.

cargo run


Hello, World!


Congratulations! You’ve just written and run your first Rust program. Keep exploring and learning, and you’ll become a Rustacean in no time! 😄