3 ms·
It's OK to point something as "Completely wrong" and as a "Urban myth", but a source is appreciated.
by Joky 10y ago
It's OK to point something as "Completely wrong" and as a "Urban myth", but a source is appreciated.
- pjmlp 10y agoThe source are the Apple developer forums and WWDC sessions.
- coldtea 10y agoHow about Chris Lattner, who implemented that in Obj-C and then Swift? >>Has a GC been considered at all? >GC [also] has several huge* disadvantages that are usually glossed over: while it is true that modern GC's can provide high performance, they can only do that when they are granted much more memory than the process is actually using. Generally, unless you give the GC 3-4x more memory than is needed, you’ll get thrashing and incredibly poor performance. Additionally, since the sweep pass touches almost all RAM in the process, they tend to be very power inefficient (leading to reduced battery life). I’m personally not interested in requiring a model that requires us to throw away a ton of perfectly good RAM to get an “simpler" programming model - particularly on that adds so many tradeoffs.* So it's hardly "completely wrong", especially for iOS.