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 GMT+08:00 TreKing <[email protected]>: > > On Wed, May 14, 2014 at 12:32 PM, 李白|字一日 <[email protected]> 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 <http://stackoverflow.com/users/1161612/kls> said: >> >> >> http://stackoverflow.com/questions/3723374/how-fast-is-javascript-compared-to-java >> > > It's extremely ironic that you say "A fool don't [sic] look at the > reality", then link to a SO post where the accepted answer states: "The > performance of an application has nothing to do with the language." > > Then you cherry pick ONE person's self-described ANECDOTE, to prove your > point? > > Here, I'll cherry pick some anecdotes from THE SAME POST: > > "Here<http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=v8&lang2=java>are > some tests comparing Javascript (V8) and compiled Java, and they > indicate that Java is generally faster1. " > > and > > "Java should still roundly trounce JavaScript due to integer vs. float > math." > > and > > "Java, obviously." > > and > > " > http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=v8&lang2=java > > According to the above link JavaScript as reality stands now is much > slower for almost everything." > By your logic, since I've quoted more "pro Java" stories, Java wins! > > Your like the Fox News of this "debate". Passing off anecdotes, > conjecture, and bias for facts. It's been a fun read at the very least, so > thanks! > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Android Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/android-developers/4UrtNOPympc/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

