Rust playground

fn greet(name: &str) {
    println!("Hello, {}!", name);

fn main() {

Rust is a multi-paradigm programming language that emphasizes performance, type safety, and concurrency. It enforces memory safety—ensuring without requiring the use of a garbage collector.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

Rust version:       1.76
sandbox engine:     codapi
sandbox name:       rust
allowed commands:   run
in-browser:         ✘

Usage example:

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

<codapi-snippet sandbox="rust" editor="basic">