Crawford: Why mobile web apps are slow
Posted Jul 17, 2013 9:50 UTC (Wed) by khim
In reply to: Crawford: Why mobile web apps are slow
Parent article: Crawford: Why mobile web apps are slow
- because garbage collection is an immense productivity enhancement, especially in GUI apps
Discussion about "if ARC is GC or is it not GC" is interesting, but in the end it's pointless: what's important is not to write explicit
free calls (who really does that nowadays?) but to control where memory is allocated and where it's deallocated. If you do that then you can easily use ARC (or Smart pointers) to reduce amount of typing and you don't need separate GC and if you don't do that then your program will be slow and jerky no matter what you do.
True, if you have good GC then program written with ARC in mind will behave almost as good and the only side-effect from GC will be some additional battery burn, but we are talking mobile here, battery burn is also important there!
to post comments)