AppleInsider AppleInsider Forums


Go Back   AppleInsider > Mac OS
Register Members List New Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-19-2008, 02:37 PM   #1
AppleInsider
Kasper's Automated Slave
 
Join Date: Nov 1997
Posts: 6,171
SquirrelFish Extreme promises to speed JavaScript in Safari 4.0

Last night, Apple's WebKit group announced the new SquirrelFish Extreme, a major new retooling of the SquirrelFish JavaScript engine originally announced in June. The update comes before SquirrelFish even had the time to make it into production versions of Safari.

After Apple announced the original SquirrelFish as a project, Mozilla released TraceMonkey for FireFox and Google unveiled the new V8 engine in Chrome, making the acceleration of JavaScript one of the most competitive and rapidly advancing targets on the computing landscape today.

The need for accelerating JavaScript is a coming wave of sophisticated new web applications, including Apple's own MobileMe web apps built using the SproutCore JavaScript framework. Safari 4.0, now in beta, will incorporate both SquirrelFish Extreme and support for new HTML 5 features described earlier.

Apple's enhancements in SquirrelFish Extreme include "bytecode optimizations, polymorphic inline caching, a lightweight 'context threaded' JIT compiler, and a new regular expression engine that uses our JIT infrastructure," according to a Surfin' Safari post by Maciej Stachowiak.



In SunSpider benchmarks, the new SquirrelFish Extreme is "nearly twice as fast as the original SquirrelFish, and over 10 times the speed you saw in Safari 3.0, less than a year ago," Stachowiak wrote. "We are pretty pleased with this improvement, but we believe there is more performance still to come."
AppleInsider is offline   Reply With Quote
Old 09-19-2008, 02:47 PM   #2
dontlookleft
Registered User
 
Join Date: Apr 2007
Posts: 157
Yay speed.

Hopefully nothing is sacrificed for this bump in speed.
dontlookleft is offline   Reply With Quote
Old 09-19-2008, 03:06 PM   #3
ZO
::::
 
Join Date: Nov 2001
Location: Paris
Posts: 3,047
impressive... most impressive

how's it stack up to Chrome and the like?


I'm having deja-vu and amnesia at the same time. I think I've forgotten this before.
ZO is offline   Reply With Quote
Old 09-19-2008, 03:14 PM   #4
solipsism
Registered User
 
Join Date: Apr 2006
Location: The Ansible
Posts: 11,916
I'm guessing they haven't implemented it yet with the latest Nightly since my SunSpider results are all ~1200ms. But this isn't uncommon for WebKit, they usually update their blog with the new tech before its been implemented in the public builds. I could be wrong, but I'm not see a change yet in the public builds.


Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
solipsism is online now   Reply With Quote
Old 09-19-2008, 03:16 PM   #5
solipsism
Registered User
 
Join Date: Apr 2006
Location: The Ansible
Posts: 11,916
Quote:
Originally Posted by ZO View Post
impressive... most impressive

how's it stack up to Chrome and the like?

http://www.satine.org/archives/2008/...pt-engine-yet/
http://summerofjsc.blogspot.com/2008...as-landed.html


Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
solipsism is online now   Reply With Quote
Old 09-19-2008, 04:07 PM   #6
Booga
Registered User
 
Join Date: Jun 2003
Location: Tinton Falls, NJ
Posts: 702
Quote:
Originally Posted by ZO View Post
impressive... most impressive

how's it stack up to Chrome and the like?
It's much faster than V8 (Google's JS engine) with each of their latest builds. However, Chrome is built on top of WebKit itself and one wonders whether Chrome could absorb SquirrelFish Extreme (or Safari V8 if it surpasses SFE).
Booga is offline   Reply With Quote
Old 09-19-2008, 04:50 PM   #7
JES42
Registered User
 
Join Date: Sep 2008
Location: New Freedom, Pennsylvania
Posts: 2
Quote:
Originally Posted by solipsism View Post
I'm guessing they haven't implemented it yet with the latest Nightly since my SunSpider results are all ~1200ms.
Downloaded WebKit build r36640 about an hour ago and ran SunSpider a few minutes after I read this. Using an early 2008 MacBook 2.4 with 4mb RAM my results were 987.8ms.
JES42 is offline   Reply With Quote
Old 09-19-2008, 05:03 PM   #8
iVlad
Registered User
 
Join Date: Jul 2007
Location: Reston, VA
Posts: 367
That's awesome. Hope it comes in Snow Leopard. Can't wait.
iVlad is offline   Reply With Quote
Old 09-19-2008, 05:54 PM   #9
JES42
Registered User
 
Join Date: Sep 2008
Location: New Freedom, Pennsylvania
Posts: 2
Quote:
Originally Posted by iVlad View Post
That's awesome. Hope it comes in Snow Leopard. Can't wait.
Why wait?? Go to webkit.org and download the latest build. Drag it to your applications folder and then click on it to open it. It will show up with a bronze colored ring around the Safari icon. SquirrelFish Extreme is included in it now.


Last edited by JES42; 09-19-2008 at 06:35 PM..
JES42 is offline   Reply With Quote
Old 09-19-2008, 05:55 PM   #10
bloggerblog
Registered User
 
Join Date: May 2008
Posts: 570
Something interesting on SproutCore's website, it looks like early stages of an iTunes application made in SproutCore:
http://www.sproutcore.com/static/sample_controls/
click on Collections2
bloggerblog is offline   Reply With Quote
Old 09-19-2008, 06:02 PM   #11
JeffDM
Global Moderator
 
Join Date: Jun 2004
Location: .US
Posts: 9,128
Quote:
Originally Posted by iVlad View Post
That's awesome. Hope it comes in Snow Leopard. Can't wait.
Safari isn't tied lockstep to a specific OS version at the moment (latest Safari and Webkit nightlies work on Tiger too), so it might be updated when it's ready rather than when the whole OS is ready.
JeffDM is offline   Reply With Quote
Old 09-19-2008, 06:03 PM   #12
Lance G.
Registered User
 
Join Date: Feb 2008
Posts: 2
Sounds awesome. But wanna know why it's called Squirrelfish?

Can't wait to test out this Squirrelfish Extreme. As an aside...

Ever wondered why they call it Squirrelfish?

http://video.google.com/videosearch?...on&emb=1&aq=f#
Lance G. is offline   Reply With Quote
Old 09-19-2008, 06:23 PM   #13
bloggerblog
Registered User
 
Join Date: May 2008
Posts: 570
Quote:
Originally Posted by Lance G. View Post
Can't wait to test out this Squirrelfish Extreme. As an aside...

Ever wondered why they call it Squirrelfish?

http://video.google.com/videosearch?...on&emb=1&aq=f#
but that would be a fishsquirrel
bloggerblog is offline   Reply With Quote
Old 09-19-2008, 07:25 PM   #14
wizard69
Registered User
 
Join Date: Jul 2003
Posts: 2,481
All well and good but ......

Lets face it this is an excellent evolution of webkit but what the world really needs is a browser for iPhone that doesn't crash every ten minutes. We aren't talking complex web pages here either. Just your run of the mill forum

So in a nut shell I want to hear about an improved Safari for IPhone more than anything.

Dave
wizard69 is offline   Reply With Quote
Old 09-19-2008, 09:06 PM   #15
Ireland
Registered User
 
Join Date: Feb 2006
Location: Ireland
Posts: 8,565
Quote:
Originally Posted by bloggerblog View Post
Something interesting on SproutCore's website, it looks like early stages of an iTunes application made in SproutCore:
http://www.sproutcore.com/static/sample_controls/
click on Collections2
Cool. Why is it need though? Wouldn't people rather use the real thing?


Collecting my SSD iMac Fry-die. :D
Ireland is offline   Reply With Quote
Old 09-19-2008, 09:08 PM   #16
Ireland
Registered User
 
Join Date: Feb 2006
Location: Ireland
Posts: 8,565
Quote:
Originally Posted by wizard69 View Post
Lets face it this is an excellent evolution of webkit but what the world really needs is a browser for iPhone that doesn't crash every ten minutes. We aren't talking complex web pages here either. Just your run of the mill forum

So in a nut shell I want to hear about an improved Safari for IPhone more than anything.

Dave
It's a phone. I can see your point, but the thing had a dot of power compared to your Mac. And this matters. It struggles for good reasons, for the device it's a lot of computation and data to deal with.


Collecting my SSD iMac Fry-die. :D
Ireland is offline   Reply With Quote
Old 09-20-2008, 12:42 AM   #17
bloggerblog
Registered User
 
Join Date: May 2008
Posts: 570
Quote:
Originally Posted by Ireland View Post
Cool. Why is it need though? Wouldn't people rather use the real thing?
I for one would prefer to use an online iTunes instead. This way I don't have to duplicate the setup on all my machines, and I could update my iPhone at work
bloggerblog is offline   Reply With Quote
Old 09-20-2008, 12:49 AM   #18
solipsism
Registered User
 
Join Date: Apr 2006
Location: The Ansible
Posts: 11,916
Quote:
Originally Posted by bloggerblog View Post
I for one would prefer to use an online iTunes instead. This way I don't have to duplicate the setup on all my machines, and I could update my iPhone at work
You can currently do it by having your iTunes Library on MobileMe or some other cloud computing. The problem is that syncing would take a long time, especially for video.

I suppose you could also have your home computer contain a local copy of your iTunes Library, with your work computer allowing for a remote connection to the local disc via MobileMe's iDisk or some other connection like AFP, SMB or FTP.


Do your part to clean up AppleInsider forums: User CP » Edit Ignore List » Teckstud
solipsism is online now   Reply With Quote
Old 09-20-2008, 06:32 AM   #19
JeffDM
Global Moderator
 
Join Date: Jun 2004
Location: .US
Posts: 9,128
Quote:
Originally Posted by Ireland View Post
Cool. Why is it need though? Wouldn't people rather use the real thing?
It looks to me like they are trying to show several samples of what Sproutcore can do, not that it's trying to make an itunes replacement.
JeffDM is offline   Reply With Quote
Old 09-20-2008, 02:08 PM   #20
bloggerblog
Registered User
 
Join Date: May 2008
Posts: 570
Quote:
Originally Posted by solipsism View Post
You can currently do it by having your iTunes Library on MobileMe or some other cloud computing. The problem is that syncing would take a long time, especially for video.

I suppose you could also have your home computer contain a local copy of your iTunes Library, with your work computer allowing for a remote connection to the local disc via MobileMe's iDisk or some other connection like AFP, SMB or FTP.
That's true, but my iTunes library syncs my Apple TV which is well over 100GBs
bloggerblog is offline   Reply With Quote
Old 09-20-2008, 02:39 PM   #21
Ireland
Registered User
 
Join Date: Feb 2006
Location: Ireland
Posts: 8,565
Quote:
Originally Posted by JeffDM View Post
It looks to me like they are trying to show several samples of what Sproutcore can do, not that it's trying to make an itunes replacement.
Oh I know that, but the comment above hinted that it may be a hint. Which I picked up and though, why would people need this.


Collecting my SSD iMac Fry-die. :D
Ireland is offline   Reply With Quote
Old 09-22-2008, 07:42 PM   #22
gurubez
Registered User
 
Join Date: Aug 2008
Posts: 6
Its impressive fast!! WOW
gurubez is offline   Reply With Quote
Old 09-23-2008, 10:23 AM   #23
troberts
Registered User
 
Join Date: Apr 2005
Location: Waynesboro, PA
Posts: 637
Quote:
Originally Posted by JeffDM View Post
Safari isn't tied lockstep to a specific OS version at the moment (latest Safari and Webkit nightlies work on Tiger too), so it might be updated when it's ready rather than when the whole OS is ready.
I agree. Safari, starting with version 3, became a stand-alone browser so Apple will release Safari 4 when they decide it is ready. Microsoft was going to tie specific browser versions to specific versions of Windows, but Firefox made Microsoft think twice about that idea and now they are up to IE8 beta 2.
troberts is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 02:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.