A macOS desktop app inspired by Swift Playgrounds. Write code, press ⌘R, see output stream live. No terminal required.
Dark, Rust, and Light themes — writing and running Rust code with interactive console
A focused environment for writing, running, and experimenting with Rust code.
Press ⌘R to compile and run. Stdout and stderr stream in real time to the Console panel. No terminal switching.
Full-featured code editor with syntax highlighting, live error checking via cargo check, and inline diagnostics.
20 chapters of curated examples based on The Rust Programming Language. Read-only reference material you can copy and modify.
Each project is an isolated Cargo package. Multiple playgrounds per project, shared dependencies via Cargo.toml.
Dark, Light, Rust, and System themes. Both the editor and app chrome switch together for a cohesive look.
Hello World, CLI Input, Structs, Error Handling, and more. Templates auto-add required dependencies.
Programs that read from stdin get a live input field. Prompts without trailing newlines appear immediately.
Attach CSV, JSON, or any file to a project. Access at runtime via the PLAYGROUND_CONTENT environment variable.
Detects Xcode CLT and Rust on launch. Two paths: "Help Me Install" (guided, in-app) or "I'll Do It Myself" (Terminal commands with copy-to-clipboard). No terminal needed for a complete Rust setup from scratch.
5-step first-launch setup: check toolchain, choose theme, set font, load Rust Book examples. Skipped toolchain shows a red indicator so you know to come back.
Distributed as a signed, Apple-notarized DMG. Gatekeeper recognizes the app as trusted on first launch — no "unidentified developer" warnings.
Four steps from launch to running code.
An isolated Cargo package for your experiments. Its own config, dependencies, and playgrounds.
Each playground is a .rs file with a fn main(). Pick a template or start blank.
The app compiles with cargo run and streams output live. Errors show inline in the editor.
Edit, run, repeat. Save with ⌘S. Add dependencies from the toolbar. Export when you're ready.
20 chapters of runnable examples, built right into the app.
Curated examples covering ownership, borrowing, structs, enums, pattern matching, error handling, generics, traits, lifetimes, closures, iterators, smart pointers, concurrency, and more.
Book projects are read-only reference material. Right-click any example and choose "Copy to Project" to create an editable copy in your own workspace.
Familiar macOS shortcuts. No menus required.
Runs on macOS 12 Monterey or later. Install the Rust toolchain via rustup — or let the in-app installer do it for you.
Don't have these installed? The app includes a guided installer for both Xcode CLT and Rust. Choose "Help Me Install" for in-app setup, or "I'll Do It Myself" for Terminal commands you can copy and paste.
On a Mac without developer tools, macOS may show an “Install Command Line Developer Tools” dialog on first launch. This is triggered by macOS, not by the app. You can dismiss it — the app will guide you through installation when you're ready via Help → Rust Help.
Found a bug, have a question, or want to suggest a feature?
Download Rustic Playground and write your first program in under a minute.
Enjoy Rustic Playground? Star it on GitHub and join the conversation on r/rust.