A language empowering everyone to build reliable and efficient software.
open sourceMIT OR Apache-2.0free
Rust is a statically typed, ahead-of-time compiled systems language whose ownership model guarantees memory safety and thread safety at compile time, without a garbage collector or runtime. That makes it usable for performance-critical services, embedded devices, WebAssembly and code that integrates with other languages. The toolchain includes the rustc compiler, Cargo (package manager and build tool), rustfmt and Clippy, installed with rustup; libraries are published as crates on crates.io. A new stable release ships every six weeks. Dual-licensed MIT or Apache-2.0 and developed by the Rust Project.
Libraries for Rust
View 40 more
- Herb
- Oxc
- hayro
- fastembed-rs
- image
- ironpress
- reqwest
- Cognee
- gRPC
- Carbone
- Rustls
- LanceDB
- Tokei
- Tauri
- argon2 (RustCrypto)
- youki
- Apache Casbin
- TrailBase
- OpenTelemetry
- NautilusTrader
- Apache DataFusion
- OpenFeature
- Chroma
- GO Feature Flag
- roxmltree
- Skrifa
- Pingora
- Apache OpenDAL
- AURA
- Valhalla
- ort
- ICU4X
- Wasmer
- Apache Spark
- Wasmtime
- Cerbos
- SuperDoc
- ALTCHA
- hyper
- model2vec-rs
Browse all of them: 117 libraries, 23 frameworks, 41 APIs.
Problems it solves
- a fast compiled language for a command-line tool that ships as one binary with no runtime to install
- segfaults and use-after-free bugs keep turning up in our C++ code and I want the compiler to catch them
- write multithreaded code without data races that only show up in production
- a systems language with modern tooling: a package manager, formatter and linter built in
- which language should I use for a low-latency network service that has to be memory-safe
- write firmware for a microcontroller in something safer than C
- compile performance-critical code to WebAssembly and call it from JavaScript
- speed up a hot path in my Python or Node.js app with a native extension that won't crash the process
- a language without a garbage collector so I get predictable latency and low memory use
Features
- ownership and borrowing checked at compile time
- no garbage collector or runtime
- type inference
- Cargo package manager and build tool
- rustfmt formatter and Clippy linter
- compiles to WebAssembly
- stable release every six weeks with nightly and beta channels
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Rust does.
- Zig A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
- Nim Efficient, expressive, elegant
- Pony An open-source, object-oriented, actor-model, capabilities-secure, high-performance programming language
- C++ A general-purpose programming language with a bias towards systems programming
- Go Build simple, secure, scalable systems with Go
- V Simple, fast, safe, compiled. For developing maintainable software
