Topic: Efficiency of java and javascript? (Read 597 times)
Where are my glasses?
Posts: 21
178 credits Members referred : 0
« on: May 19, 2011, 04:55:57 am »
Explain why scripting languages like javascript or VB script might still be more efficient for some client side functions than a full client side language like java?
Thanks.
Bill Gates is my home boy
Posts: 651
4740 credits Members referred : 0
« Reply #1 on: Jun 06, 2011, 04:35:40 pm »
Based on my knowledge, it is because these script languages provide better user interfaces and dynamic websites.
Affiliate Programs CPA Network Affiliate Network
Hunky Junky Monky Man!
Posts: 67
426 credits Members referred : 0
« Reply #2 on: Sep 03, 2011, 07:03:25 am »
hello I hope - Javascript nowadays doesn't only reside in the web client but also in the web server with node.js. It could also be run in mobile phones and dekstops with appcelerator and phonegap. It could also be used substantially in the web browser to make the user experience first class like with desktop applications. But Java could do these things too, running applets on the web client, and on mobile phones. It's also a language for the backend with many frameworks to choose between. Since each one of them could almost/entirely replace each other in the mentioned area, I want to know the performance difference between them, for every case I described: Client: Java Applets vs Javascript Server: Java EE vs Javascript with Node.js + Express Mobile phones: Java ME vs Javascript with Phonegap / Appcelerator Desktop: Java SE vs Javascript with Phonegap / Appcelerator I hope the context is more clear now.
I wish I was an Oscar winner
Posts: 90
580 credits Members referred : 0
« Reply #3 on: Sep 06, 2011, 12:03:19 pm »
You must be knowing the Script languages. Then you can be able to understand
Cyberpunk Wannabe
Posts: 41
300 credits Members referred : 0
« Reply #4 on: Sep 29, 2011, 01:36:11 pm »
am working mostly with jitter so my curiosity was mostly about the speed performance. I have been using java and javascript for doing some basic matrix
Cyberpunk Wannabe
Posts: 41
300 credits Members referred : 0
« Reply #5 on: Oct 06, 2011, 09:31:00 am »
I know in general the same action coded in C versus Max will be faster in C and that because of the JVM, C will be faster than Java. I was wondering if anyone has any info on the speed of Java vs. JavaScript vs. Max doing similar tasks. I know I've had some ideas that would be easier to code Java/JavaScript than in Max,
« Last Edit: Oct 06, 2011, 10:32:51 am by Nikolas »
Bill Cosby is my Father
Posts: 4
24 credits Members referred : 0
« Reply #6 on: Nov 13, 2011, 11:26:08 am »
JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented,[6] imperative, and functional[1][7] programming styles.
JavaScript was formalized in the ECMAScript language standard and is primarily used in the form of client-side JavaScript, implemented as part of a Web browser in order to provide enhanced user interfaces and dynamic websites. This enables programmatic access to computational objects within a host environment.
JavaScript's use in applications outside Web pages ? for example in PDF documents, site-specific browsers, and desktop widgets ? is also significant. Newer and faster JavaScript VMs and frameworks built upon them (notably Node.js) have also increased the popularity of JavaScript for server-side web applications.
JavaScript uses syntax influenced by that of C. JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated and have very different semantics. The key design principles within JavaScript are taken from the Self and Scheme programming languages.
Atari ST fan
Posts: 7
76 credits Members referred : 0
« Reply #7 on: Nov 25, 2011, 11:30:21 am »
hello Thanks for provide me information about this topic because this will help me. Regards standards
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=12106