3 ms·
Note that Apple is abandoning garbage collection for Objective-C. Additionally, GC is not strictly necessary to solve buffer overruns and dangling pointers. Re
by pcwalton 15y ago
Note that Apple is abandoning garbage collection for Objective-C.
Additionally, GC is not strictly necessary to solve buffer overruns and dangling pointers. Region-based memory management is an alternative for many use cases.
- pjmlp 15y agoYes, but reference counting (ARC) is also automatic memory management.
- slashvar 15y agoReference counting is the low-end of automatic memory management and garbage collection. And about GC in kernel, of course you can. The issue is that most efficient GC needs giant locking and giant locking in kernel is something that you don't want. In fact you can really live without GC. The burden of integrating it in kernel space out-range the benefit of using it.
- pjmlp 15y agoFunny, because Windows uses reference counting on the Kernel. http://technet.microsoft.com/en-us/sysinternals/bb963901 http://technet.microsoft.com/en-us/sysinternals/bb963901