Meta Refresh 2015: Delhi Run-up

Data-centric mobile web design

Go Native and Come Back

Submitted by Himanshu Kapoor (@fleon) on Monday, 2 March 2015

videocam_off

Technical level

Beginner

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +10

Objective

Lets try and make the picture clear. Currently, the concensus is that:
1. Native apps will always perform better than the Web
2. The mobile web is slow

This talk will be about my experience developing native applications and learning of things I wouldn’t normally have known had I been developing only using the web. You would know what to optimize from the tips and tricks floating around the web, but you wouldn’t really know why or how they work.

This talk will focus on things are like a native app developer’s religion, but are taken for granted by the naïve web developer. Thus, encouraging the web developer to learn and develop a native app at least once, take those learnings and use them in the web world. This talk will also go about what those learnings are, one by one.

Description

“Go Native or Go Home”, veterans in the mobile world would often say that, as they watch the web world trying to play catch in terms of performance. This talk would talk about some low level details of programming a native app that help boost performance, the details that a web programmer wouldn’t really know unless he gets his hands dirty with some native code. These details include:

  1. Understanding Memory - each byte on a mobile device is critical, understanding garbage collection, strong references and memory leaks
  2. Understanding Bitmaps - optimizing images, POT (power of two) textures, sprite sheets, dithering,
  3. Understanding Rendering - introduction to the rendering process, DOM vs canvas vs hardware accelerated canvas
  4. Multi-threading - importance of delegating all processing work to a different thread, web-workers, parallel.js

Once you develop a native application, you can very well take those learnings and develop a web application with performance as the prime focus.

Requirements

Basic understanding of JavaScript.

Speaker bio

My name is Himanshu and I’m a front-end developer at Wingify. I’m also a iOS game developer part time. I have experience with developing both native applications (games) and mobile web applications, and can present the best of both worlds to the listeners.

Links

Comments

Login with Twitter or Google to leave a comment