I wrote this client. It is as fast as most other native HN mobile apps, but mine works on iOS, Android browser, and windows phone 8. It also works on regular browsers.
By far the best web app I have ever used. Period. How did you manage to make it so fast? Also most web apps I pin to my home screen (not many) open in safari. how did you manage to get this to open it is own 'app'. It's not a part of safari, it has it owns icon in the app switcher.
+1000 KUDOS
I WILL be using this app a lot.
edit: More kudos for being a Wolverine like myself. Go Blue!
After adding the site to the home screen there doesn't seem to be any way to get back to your site after following a link to the full version of an article. Known issue?
Other than that issue, I'm very impressed with the site. The design and performance are excellent.
Great job! You just got real-estate on my Windows mobile phone. Once quick suggestion. I noticed you have the precomposed Apple touch icons, can you also support Windows?
It's a cool app but it's hung up my iPhone in a very strange way.
I installed the app by saving to the home screen. Then I opened it and was browsing around, but all of a sudden, all my buttons got disabled and so now I'm stuck inside the app looking at an HN thread. There's no back button once you click through to an external url. So I can't even get back to the app's UI.
So now I just have to wait for my phone battery to die.
Do a hard reset (on iPads this requires holding power + home for 10 seconds, don't know about iPhones, but there definitely is a way; pretty much any normal computer/phone/tablet can be powercycled by holding power button for ~10 seconds).
I couldn't close the app because my home button was disabled. So was my power button and I couldn't even slide down the notifications panel to try and jump to another app.
Hands down, the best HN browsing app I've ever used. I really don't see the need to go native either. Its pretty responsive on iOS when I add it to the home screen. Great work!
But as you said, given that you didn't use any frameworks the productivity couldn't have been that great... Not to mention that it probably doesn't blend in with the native apps? (don't have a mobile with me right now, so can't test it)
Well, I am not a designer so it took me while to get right colors, background, text sizes, layout etc. You can see my profile here. (http://premii.com).
Initial app took one Sunday. It worked on android browser and iOS. If I only had to make it work for iOS, it would ve been easy, but chrome on android took as much time as the whole app. Later found that there was a bug in chrome. They just fixed it like 2-3 weeks before.
It worked on WP8-IE10 without any special code. I didn't had WP, so I asked reddit/r/windowsphone guys and they told me it works great. Couple of redditors reported minor issues which I fixed.
I am not saying this is easy to do, and I will never advise anyone to user HTML5 if they have CPU intensive task and super complex animation/interaction. However HTML5 is the only platform that can help you develop simple app that works on all 4 mobile platforms (iOS, Android, WP8 and mobile browsers).
ah, that's a shame. well if you're ever up to give it another go i'd recommend reaching out to r/windowsphone again, there are a lot of devs there that i'm sure would be willing to lend some support.
Awesome work! Thanks for creating such a great site, I've added it to my iphone home screen. The performance is great even on an older iphone4 which is quite the achievement.
This will definitely be the way I consume HN on the go from now on.
I've just installed it on my ol' Nexus S, it seems to work well, but I'm missing (or I haven't found it?) the native possibility to share articles/HN comments on Android.
No, I didn't use any framework, but I am using Zepto library. I may remove zepto in the future as all these libraries are very slow on mobile. When I replaced $.html() with dom .innerHTML, rendering time improved by 50% in some cases.
No, it doesn't answer the question, it suggests more questions to ask to make an informed answer. It's just a short cautionary tale to make the user consider what type of app he/she is building, and to consider if significant activity within the app is, or not, likely part of the GC/JavaScript (or HTML/CSS) that would suffer in some cases vs local, native, code.
Personally, I tend to agree with the original article that GC is an expensive thing to put in most apps. BUT, you need to be pragmatic about determining if the additional margin of execution speed from not having a GC justifies the coding effort.
Having said that... you're right in that mostly this posting is to fulfill somebody's job requirements, rather than a substantial amount of content :-)
IMO it's not so much a question of performance, but of shaky browser support (especially on mobile) for things like real-time audio, video, vector graphics, and socket communication. Thankfully Adobe Flash / AIR really shine in these areas. It's sad that Adobe doesn't seem to realize it.
I (strongly dis)like how the article's titular question actually goes almost completely unanswered throughout the article. The article seems like a round defense of Javascript's productivity and interoperability benefits, but the original article (Why mobile apps are slow) had almost nothing to do with those issues. If you are going to respond to someone else's essay, please at least address the prompt!
I wrote this client. It is as fast as most other native HN mobile apps, but mine works on iOS, Android browser, and windows phone 8. It also works on regular browsers.
I have wrapped this in hybrid app using phonegap, but only submitted to Google play. One day I will submit it to Apple too. https://play.google.com/store/apps/details?id=com.premii.hn
But it is not a simple task to make fast performing HTML5 app that works on all mobile browsers.