1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-28 03:28:32 +02:00
Files
comprehensive-rust/src/why-rust/compile-time.md
2022-12-21 16:38:28 +01:00

273 B

Compile Time Guarantees

Static memory management at compile time:

  • No uninitialized variables.
  • No memory leaks.
  • No double-frees.
  • No use-after-free.
  • No NULL pointers.
  • No forgotten locked mutexes.
  • No data races between threads.
  • No iterator invalidation.