From d45ec368efde98cd6ad3eeabb14c1db1236e640a Mon Sep 17 00:00:00 2001 From: Jason Lin Date: Wed, 28 Aug 2024 01:57:52 +1000 Subject: [PATCH] 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. --- src/memory-management/approaches.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory-management/approaches.md b/src/memory-management/approaches.md index 40d98c31..57e9ce4a 100644 --- a/src/memory-management/approaches.md +++ b/src/memory-management/approaches.md @@ -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: