4 ms·
GC is inevitable, but so is no GC. In the 80s people wanted to write software on platforms where GC was not practical. Having a GC when you have 640 K of ram is
by scottdw2 15y ago
GC is inevitable, but so is no GC. In the 80s people wanted to write software on platforms where GC was not practical. Having a GC when you have 640 K of ram is silly. So people used languages that didn't have GC. But then the platforms grew exponentionally, and people started wanting to do more complex things, and they say "all this manual memory management is crazy... lets use GC", just like the previous generation of computer scientists did before them.
Then the iPhone came out...
ARC isn't a revolution, it's just a stage in a cycle....
In 10 years your 20 core smartphone will have a GC running in it.
- wtallis 15y ago"In 10 years your 20 core smartphone will have a GC running in it." Quite possibly. But it's also quite conceivable that Objective-C will still be in use by then, and still not have the what a Java programmer would think of as garbage collection. When iPhone hardware is ready for it, we'll probably see Python or MacRuby or JavaScript become the most common way of interacting with a Cocoa system that is still implemented in Objective-C.