mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-19 22:19:29 +02:00
Update approaches.md (#2317)
I might be missing something, but RAII is generally associated with programming languages with manual memory management (prominently with C++, where it originated), so I think it is not very appropriate to have it mentioned here.
This commit is contained in:
parent
cfdd9c37a9
commit
d45ec368ef
@ -14,7 +14,7 @@ Traditionally, languages have fallen into two broad categories:
|
||||
Haskell, ...
|
||||
- A runtime system ensures that memory is not freed until it can no longer be
|
||||
referenced.
|
||||
- Typically implemented with reference counting, garbage collection, or RAII.
|
||||
- Typically implemented with reference counting or garbage collection.
|
||||
|
||||
Rust offers a new mix:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user