Here is why Facebook ditched HTML5 and went with native code for their app

13comments
Here is why Facebook ditched HTML5 and went with native code for their app
Mark Zuckerberg, the creator and head of the biggest global social network Facebook, has recently said that going with HTML5 for its mobile app has been one of the biggest mistakes Facebook has made, and now that Facebook has finally switched native app development to full gear senior developer Tobie Langel explains why so.

Clearly there are a couple of reasons outlined in his post on W3’s website but most importantly it boiled down to no ways to diagnose and track memory problems and sub-par scrolling performance.

Now, you might think what if Facebook hadn’t designed its app good enough and it’s the company’s fault, not HTML5 itself, but that doesn’t seem to be the case.

Here are the main reasons why Facebook switched to native code development and why HTML5 proved an inefficient platform for its app:

  • Tooling / Developer APIs. HTML5 simply lacked the tools to track down memory problems with the app. 
  • Scrolling performance. Smooth scrolling is quintessential for an app, and even more so for a widely used app like Facebook’s. It wasn’t fast and smooth enough. 
  • GPU. HTML5 and graphic makers are basically black boxing the GPU, so developers can’t do any meaningful GPU acceleration on HTML5 apps. 
  • Other. Touch tracking support, smoother animations, and improved caching were all mention. 


Check out Langel’s full post explaining the reasons why below and take note if you’re a developer. Would you still go for HTML5 or are you convinced that native code just works better?

source: W3 via High Scalability

Unlimited plans for $15/mo at Mint!

$180
$360
$180 off (50%)
Mint Mobile is also offering an incredible bargain for those seeking unlimited data! The carrier's latest deal lets you grab any unlimited plan for just $15/mo, bringing the 12-month Unlimited plan to $180 instead of $360.
Buy at Mint Mobile
Google News Follow
Follow us on Google News
COMMENTS (13)

Latest Discussions

by RxCourier9534 • 7
by MagentaMarx • 10

Recommended For You

FCC OKs Cingular\'s purchase of AT&T Wireless