Skip to main content

GC vs Native

  1. Predicable latency
  2. Access to modern storage API without overhead
  3. Custom management of memory, cache: key to multi-tenant system

Rust Offerings(vs C++)

  1. Memory safety without garbage collection.
  2. Concurrency without data races.
  3. Modern Toolchain
  4. Zero-cost abstraction

Adoption of Rust: Trend

  1. Neon Database
  2. TiKV
  3. Databend

Known Limitation

  1. Work-in-progress Async ecosystem

Reference

  1. https://blog.rust-lang.org/2015/04/10/Fearless-Concurrency.html
  2. Jon Gjengset: Consider Rust
  3. Rust is the key to cutting Android vulnerabilities