Hacker News new | past | comments | ask | show | jobs | submit login

Thank you for an advice.

But it isn't a negativity at all. It is my opinion. I'd said long ago, that making apps in Javascript for a phone is a ridiculous idea, and was nothing but a marketing illusion (they will tell you that Javascript is the most widely used language in the world just because any schoolchild wrote something with getElementById at least once.) But when you look at this approach from an system engineering point of view, you probably will see, that it is artificial abstraction level, with enormous overhead, and it wasn't designed for this purpose. (What's good for a PC cannot be pushed into ARM-world. That is why Flash for Android is a failure and why Android also released a C++ DK. ARM systems still cannot afford the overhead of all those artificial layers, such as Flash or other popular PC stuff.

Of course, with V8 which is producing an optimized native code for an ARM cpu, situation will look a little better, but still, you need an efficient resource management and control (think that there is no swap).

So, clang++ is the obvious answer (that is why Apple spend money to it), but ordinary getElementById developer cannot understand and code memory management. That's why all marketers are trying to push garbage-collecting artificial blobs.

The good side is that if you learn how to program you can use appropriate tools (C/C++).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: