This is a bit off-topic, but here is a very good post on "Why mobile web apps are slow".
It focuses a lot on Javascript, but there are some great insights on Native vs Dynamic languages, and the behavior of Garbage Collectors.
Long, but worth the reading:
http://sealedabstract.com/rants/why-mobile-web-apps-are-slow/
I particularly enjoyed the section about Garbage Collection that has a reference to a paper (and plot) that shows that GC can take exponential time as the system uses more of the total memory, which just adds up to the point I talked about in a previous post "Lock-Free isn't what it's cracked up to be". What good is it to develop a Lock-Free (or Wait-Free) algorithm that causes heavy churn on the GC if whenever the GC has to do some cleanup, it will freeze up your entire system, including the execution of the so-called-lock-free algorithm or data-structure?
No comments:
Post a Comment