| What it is | Efficient, expressive, elegant | A language empowering everyone to build reliable and efficient software. | Simple, fast, safe, compiled. For developing maintainable software | A language for humans and computers |
| Features | - statically typed with local type inference, generics, tuples and sum types
- compiles to C, C++ or JavaScript
- small dependency-free native executables for Windows, Linux, BSD and macOS
- deterministic memory management with destructors and move semantics (ORC by default)
- AST macros, templates and compile-time function evaluation
- zero-overhead iterators
- async/await in the standard library
- easy C, C++ and Objective-C wrapping
- All 9 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
| - static typing with generics and sum types
- compiles about 100k to 700k lines a second; self-hosted compiler
- emits human-readable C for GCC or Clang, plus native backends
- no null, no undefined values, immutable by default
- Option and Result types with mandatory error checks
- tracing GC by default, with autofree, manual and arena options
- cross-compilation with -os windows or -os linux
- live code reloading
- All 10 features
| - Ruby-inspired syntax, compiled to native code
- static type checking with type inference
- flow typing and compile-time nil checks
- batteries-included standard library
- fibers and channels for concurrency
- macros for metaprogramming
- C bindings with no runtime overhead
- Shards: decentralised dependency manager
- All 9 features
|