Hacker News new | ask | show | jobs
by on_and_off 3769 days ago
? Android apps are also compiled ahead of time right now (whether they are written in java or kotlin).
1 comments

Don't you still have GC issues for heap allocation/destruction? Swift uses the ARC pattern so no GC lockups or performance issues.

[1] https://developer.apple.com/library/ios/documentation/Swift/...

I have spent a large amount of time optimizing Android apps and GC pauses are generally not the issue (as long as you don't do something stupid like allocating objects in draw calls).

I think that ARC is probably an overall better solution but as far as GC pauses are concerned, we have reached the point where they don't impact performances.