1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-27 19:18:59 +02:00
Files
comprehensive-rust/src/why-rust/compile-time.md

13 lines
273 B
Markdown
Raw Normal View History

2022-12-21 16:36:30 +01:00
# 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.