Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yes, but reference counting (ARC) is also automatic memory management.


Reference 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.


Funny, because Windows uses reference counting on the Kernel.

http://technet.microsoft.com/en-us/sysinternals/bb963901




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: