2 ms·
You don't see the borrow checker. It manifests itself in encouraging RAII inspired writing and logical flow. Lifetime annotations help how you use and exchange
by echelon 4y ago
You don't see the borrow checker. It manifests itself in encouraging RAII inspired writing and logical flow.
Lifetime annotations help how you use and exchange certain data, but you can get away without them unless you need them. For shared data structures (when synchronization primitives are too much) and highly performant code.
You can write high level Java, Ruby, and Python code in Rust if you want to. Writing Actix or Axum web handlers feels no different than Golang or Python/Flask.