Reply

Firefox Gets Massive JavaScript Performance Boost

Thread Tools Search this Thread
Old Aug 23, 2008, 04:18am Default Firefox Gets Massive JavaScript Performance Boost
Elite Member

Posts: 4,776
Karma: TNT Bot is on a distinguished road
monkeymonkey writes "Mozilla has integrated tracing optimization into SpiderMonkey, the JavaScript interpreter in Firefox. This improvement has boosted JavaScript performance by a factor of 20 to 40 in certain contexts. Ars Technica interviewed Mozilla CTO Brendan Eich (the original creator of JavaScript) and Mozilla's vice president of engineering, Mike Shaver. They say that tracing optimization will 'take JavaScript performance into the next tier' and 'get people thinking about JavaScript as a more general-purpose language.' The eventual goal is to make JavaScript run as fast as C code. Ars reports: 'Mozilla is leveraging an impressive new optimization technique to bring a big performance boost to the Firefox JavaScript engine. ...They aim to improve execution speed so that it is comparable to that of native code. This will redefine the boundaries of client-side performance and enable the development of a whole new generation of more computationally-intensive web applications.' Mozilla has also published a video that demonstrates the performance difference." An anonymous reader contributes links the blogs of Eich and Shaver, where they have some further benchmarks.
Read more of this story at Slashdot.
</img>


More...
TNT Bot is offline
Reply With Quote
View Public Profile Visit TNT Bot's homepage! Send a private message to TNT Bot
 
Old Aug 23, 2008, 10:03am Default Re: Firefox Gets Massive JavaScript Performance Boost
APK
APK's Avatar
Elite Member

Posts: 368
Name: The Duke of URL
Karma: APK will become famous soon enough
That's great... except for the fact that javascript (& javascript in combination w/ IFRAMES) attacks abound online, AND, have been the MAJORITY OF ATTACK MECHANISMS USED for the past 3-4 yrs. now, no less...

IMO @ least? Well, I'll let you read it, over @ /.:

http://tech.slashdot.org/comments.pl...1&cid=24720215

Synopsis/I.E.-> What NEEDS doing, is a more security oriented & secured javascript VM... because THEN? You'll "need more speed" due to security on VM's probably going to 'slow it down' even more!

(E.G.-> & if you've ever surfed a site MINUS running Javascript/Java/ActiveX etc. et al? You note a HUGE boost off the bat in page loads, period... especially via cutoffs of adbanners alone (of which adbanners have been compromised MANY times the past 3-5 yrs. online))

Thus - To prevent these types of shenanigans in both webbrowsers AND HTML oriented mails? Javascript ITSELF has to be more secured, rather than merely only 'sped up'...

APK

P.S.=> Somehow, I also do NOT think they'll be successful in making javascript (an interpreter driven language afaik) as fast as say, statically linked "stand-alone" executable C code (one of the fastest there is, when NOT driven by interpreter libs & this IS possible using it to build code)... too much "messagepassing" overheads is why... STILL, the 'speed boost' is nice, but, what about security for Javascript?? That IS the important one imo @ least... apk
__________________
"I'm Reese: Sgt. TechComVN38416, assigned to protect you - You've been TARGETTED FOR TERMINATION!"

Last edited by APK; Aug 23, 2008 at 02:42pm.
APK is offline
Reply With Quote
View Public Profile Visit APK's homepage! Send a private message to APK
 
Reply
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search





All times are GMT -4. The time now is 02:41pm.

RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Copyright © 2006 - 2008 by The New Tech

vBulletin, Copyright © 2000-2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC5