4 ms·
While I agree with your overall points, you are wrong on the details: Android runs native code and ARC is just another form of GC (with less memory overhead, bu
by kaba0 4y ago
While I agree with your overall points, you are wrong on the details: Android runs native code and ARC is just another form of GC (with less memory overhead, but also less throughput for what it matters. It is probably the better choice for mobile devices).
Apple hardware is just that much better, it is not about the software stack.
- acdha 4y agoAndroid does have native code support, but do non-games use it commonly? The Android reviews I've read tend to mention that being a game thing when talking about why it's important to have more RAM. (And, yes, I should have said “Java's GC vs. ARC” since that tends to have higher peaks)
- kaba0 4y agoAndroid’s ART used to be a completely AOT approach (that compiled to native machine code on the machine at install time), nowadays there is also a JIT compiler that shares profiling information across devices even.
- acdha 4y agoYeah, to be clear my point is not that one is better than the other but simply that you can’t directly compare RAM without adjusting for the fact that they have different designs.