Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-14 Thread 李白|字一日
i would no say that java language would be slower than javascript. but the java ecosystem and its model made itself a very slow language. slow to start up, memory consuming to have the vm run. a time waiting to deploy. and complicated framework to start. and crazy xml configs. 2014-05-15 1:52 G

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-14 Thread 李白|字一日
Yes And NO. Yes: Javascript can be used to write applications. Android is slow because of java and its vm, and it design model. if Android using javascript technology, and throw away java vm. the running model will be differently. the async technology is not only fast in server but also in browser

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-14 Thread TreKing
On Wed, May 14, 2014 at 12:32 PM, 李白|字一日 wrote: > A fool don't look at the reality. > > as nodejs nowadays is popluar in server side programming, > the benefit is very obvious. > > > http://stackoverflow.com/questions/3723374/how-fast-is-javascript-compared-to-java > > > as kls

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-14 Thread Kristopher Micinski
Your arguments don't make any sense at all anymore because all you're saying is: JavaScript can be used to write applications, Android sucks because it doesn't use JavaScript. Perhaps you should read FirefoxOS and learn to do some programming for that, and then direct future questions there. Kris

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-14 Thread 李白|字一日
A fool don't look at the reality. as nodejs nowadays is popluar in server side programming, the benefit is very obvious. http://stackoverflow.com/questions/3723374/how-fast-is-javascript-compared-to-java as kls said: http://stackoverflow.com/questio

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-12 Thread Doug
Please, just stop. You are arguing with a fool! On Sunday, May 11, 2014 10:30:22 PM UTC-7, Kristopher Micinski wrote: > > What are you even talking about: Any JavaScript program is also going > to have threads, too. > > You seem to be making this argument: Java has multiple threads, and > that

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread 李白|字一日
a global event based rendering machine plus HTML5 + javascrip + css Bundle will surely be more faster. firefox os maybe an existing example. it consumes less resources. while android is not. http://propakistani.pk/2013/04/29/how-and-why-firefox-os-is-better-than-android-and-ios/ 2014-05-12 13:5

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread 李白|字一日
you even don't know what javascript is . although javascript needs more than one threads to execute, but it is event based. in run time, it has no needs to create new thread. like epoll vs select in network io. the differences are obvious. java can't make it. the switch between ui thread to net

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread Kristopher Micinski
What are you even talking about: Any JavaScript program is also going to have threads, too. You seem to be making this argument: Java has multiple threads, and that makes the programs slow. It sounds like all of this is coming from a completely uneducated viewpoint on systems design, but there ar

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread 李白|字一日
the slow comes not just from the loading of java based apps. but the java itself and the bad programming guidance, which uses too many threads and classes which take a lot space. and what even worse is you will sometimes have to do deep inheritance. it adds extra overheads to make itself run. thes

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread Kristopher Micinski
I don't get your point: Java needs a runtime. JavaScript needs a runtime. Both of them need runtimes. He never said Dalvik was "slow," but everything can be optimized. Does native code run faster than interpreted / JIT code? Probably. The *exact same thing* is going to be an issue with JavaScr

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread 李白|字一日
in effect, you are making the acknowledgement that java is slow and fat not just because of the dalvik. even with ART, there is no evidence that Java will be more efficient, though there may be some improvement. 2014-05-12 11:22 GMT+08:00 bjv : > Ugh! You don't get it and likely never will. T

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread bjv
Ugh! You don't get it and likely never will. There are so many things wrong with your assumptions/statements in all of these threads. It really isn't worth the time to debunk them all. But for what its worth, there is small overhead with respect to running Java/Dalvik on Android. That said, it

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread Kristopher Micinski
Everything you are saying here is "I have heard Java is slow, and that's what is probably making Android slow! Here's an example of some things I think are slow because of Java. Now I'm going to apply this as evidence to the entire Android platform to show why Java must be slow on it." Please s

Re: [android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread 李白|字一日
if it is not, why should you go native with c/c++ based ndk programming? it is surely related to the programming language. javascript 's speed acceleration is also related to the language and its optimization, which is almost always c/c++. i have never experienced the fast feeling of java techno

[android-developers] Re: looking for HTML5 and javascript based sdk....

2014-05-11 Thread Colin M
I'll ignore the unqualified claim that the slowness of Android is due to Java. It sounds like your complaint is that you can't develop native apps in your preferred language and that you're using an outdated claim about Java to support your desire to change the current language of choice for An