Native code is faster. The issue though is to create cross-platform applications. For that you need an agreed upon standard. It appears that HTML5 is now that standard.