by DanBC · 12y ago · 0 comments
I love the idea of ruthlessly developing for low end systems rather than just assuming everyone has 1 GHz and 1GB.
I hope designers and coders enjoy the challenge of working with such limited systems.
I tried to use Paypal website on an iPhone 4 yesterday. It was painfully slow. It was loading a bunch o stuff that I just didn't need or want. Horrible experience.
Firefox OS is very, very heavily focused on the use of HTML5, JavaScript, and other web technologies for the development of mobile applications.
Yet as you found out recently, apps or websites built using these technologies are often extremely inefficient, even when highly tuned by very experienced developers.
To get good performance on limited devices, the best thing to do is to move away from HTML5, JavaScript, and related technologies. Applications written in C, C++, Objective-C and even Java vastly outperform HTML5/JavaScript-based apps, especially on devices with limited capabilities.
Yet this is completely contrary to what Mozilla is doing with Firefox OS. So it seems really unusual to me to support them and their efforts, when it's clear that their approach flies totally in the face of what you'd like to see happen.
Citation when it comes to Java (assuming you're talking about Dalvik, because that's the relevant Java implementation on mobile)? Dalvik is not generally considered as fast as either V8 or SpiderMonkey. For example: https://blog.mozilla.org/javascript/2013/08/01/staring-at-th...
On a low hand device,you cant honestly say, an HTML5 ui on firefox os will be faster and more reponsive than an android ui coded with the android framework. Wether X javascript engine is fast or not is irrelevant. Users are not stupid, they can tell a fast and responsive ui from a clunky HTML/JS one.
Finally Javascript gives you 0 tool for manual memory management,which is central for any embedded programming. On Android and Iphone one can go down to C/C++ if necessary.
The idea of a 25$ device that would run javascript programs/uis efficiently is preposterous.
asm.js offers manual memory management, with no garbage collection. You can compile C and C++ and it will run essentially natively, modulo the sandboxed safety checks.
You might also want to check out what Sencha did with Fastbook: https://www.youtube.com/watch?v=wCn3R3-XxBU
What kind of person are you?