RustPlayground
Quickly test Rust code on macOS
Install / Use
/learn @cmyr/RustPlaygroundREADME
<a href='http://www.recurse.com' title='Made with love at the Recurse Center'><img src='https://cloud.githubusercontent.com/assets/2883345/11325206/336ea5f4-9150-11e5-9e90-d86ad31993d8.png' height='20px'/></a>
Rust Playground for MacOS
status: experimental / pre-release / guaranteed buggy
The Rust Playground for MacOS is a standalone native mac application that allows quickly editing and testing rust snippets.

installation
You can download a disk image of a recent build on the releases page.
requirements
The playground requires rustup, and allows code to be run with any installed toolchain.
note: Rustup must currently be in the default directory, $HOME/.rustup.
install from source (requires Xcode)
- clone this repository
- cd in to the
RustPlaygrounddirectory - run
xcodebuildfrom the command line - copy
build/Release/Rust Playground.appto yourApplicationsdirectory
About
This project is based on a fork of the xi-editor core. It is intended largely as an experimental offshoot of xi; a narrowly scoped editor frontend that can be used to experiment with various design decisions.
Document state is handled in rust; the swift frontend interfaces with the rust code via FFI.
Features
- syntax highlighting
- font selection
- auto-indent
- comment toggling
- line breaking
- extern crates (with a hacky custom syntax for declaring imports)
- use any installed toolchains
Known issues
- Performance is not great; it is expected that documents are only ever a few hundred lines.
- Drawing is hacky. We may draw ghost selections.
TODO
- ~export to gist / web playground~
- export to new cargo project?
- rustfmt / clippy
- multiple documents, saving snippets?
- ASM / IR output
One day, maybe
- integrate with cargo-instruments
- benchmarking
- inline compiler warnings
- autocomplete
- RLS support
- Rust Analyzer support
Thanks
to the xi-editor contributors, to Jake Goulding for the excellent play.rust-lang.org implementation, and to the Rust community at large.
Related Skills
himalaya
345.4kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
coding-agent
345.4kDelegate coding tasks to Codex, Claude Code, or Pi agents via background process
