SquirrelFish in WebKitGtk
If I get the source for WebKitGtk, using the documentation described here: http://live.gnome.org/WebKitGtk Does it have SquirrelFish? Thank you for any help.
2008/11/28 ying lcs <yinglcs@gmail.com>:
If I get the source for WebKitGtk, using the documentation described here:
http://live.gnome.org/WebKitGtk
Does it have SquirrelFish?
Yes, it will. All ports share the same JavaScript engine code. -- Kalle Vahlman, zuh@iki.fi Powered by http://movial.fi Interesting stuff at http://sandbox.movial.com See also http://syslog.movial.fi
Thanks. When I 'make' the Gtk Webkit (from the trunk I got yesterday), does it enable SquirrelFish by default? On Fri, Nov 28, 2008 at 5:37 AM, Kalle Vahlman <kalle.vahlman@gmail.com> wrote:
2008/11/28 ying lcs <yinglcs@gmail.com>:
If I get the source for WebKitGtk, using the documentation described here:
http://live.gnome.org/WebKitGtk
Does it have SquirrelFish?
Yes, it will. All ports share the same JavaScript engine code.
-- Kalle Vahlman, zuh@iki.fi Powered by http://movial.fi Interesting stuff at http://sandbox.movial.com See also http://syslog.movial.fi
"SquirrelFish" is the underlying execution engine for javascriptcore -- it can't be disabled as then there would be no way to execute JS. JavaScriptCore provides the actual API you use -- SF is completely internal to JSC and has no external API. --Oliver On Nov 28, 2008, at 3:45 PM, ying lcs wrote:
Thanks. When I 'make' the Gtk Webkit (from the trunk I got yesterday), does it enable SquirrelFish by default?
On Fri, Nov 28, 2008 at 5:37 AM, Kalle Vahlman <kalle.vahlman@gmail.com
wrote: 2008/11/28 ying lcs <yinglcs@gmail.com>:
If I get the source for WebKitGtk, using the documentation described here:
http://live.gnome.org/WebKitGtk
Does it have SquirrelFish?
Yes, it will. All ports share the same JavaScript engine code.
-- Kalle Vahlman, zuh@iki.fi Powered by http://movial.fi Interesting stuff at http://sandbox.movial.com See also http://syslog.movial.fi
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine? Iulian Oliver Hunt-2 wrote:
"SquirrelFish" is the underlying execution engine for javascriptcore -- it can't be disabled as then there would be no way to execute JS.
JavaScriptCore provides the actual API you use -- SF is completely internal to JSC and has no external API.
--Oliver
On Nov 28, 2008, at 3:45 PM, ying lcs wrote:
Thanks. When I 'make' the Gtk Webkit (from the trunk I got yesterday), does it enable SquirrelFish by default?
On Fri, Nov 28, 2008 at 5:37 AM, Kalle Vahlman <kalle.vahlman@gmail.com
wrote: 2008/11/28 ying lcs <yinglcs@gmail.com>:
If I get the source for WebKitGtk, using the documentation described here:
http://live.gnome.org/WebKitGtk
Does it have SquirrelFish?
Yes, it will. All ports share the same JavaScript engine code.
-- Kalle Vahlman, zuh@iki.fi Powered by http://movial.fi Interesting stuff at http://sandbox.movial.com See also http://syslog.movial.fi
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-- View this message in context: http://www.nabble.com/SquirrelFish-in-WebKitGtk-tp20728765p21330531.html Sent from the Webkit mailing list archive at Nabble.com.
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine?
WebKit has switched to SquirrelFish-based JSC since quite some time. r38068 is from around November, so it should use SquirrelFish already. Note that SquirrelFish Extreme is of course a different matter. -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices R&D
Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from web pages doesn't have to be compiled somehow? How do we do that? What about the JavaScript objects that are created using the JavaScriptAPI? How does SquirrelFish handle these objects? Iulian Ariya Hidayat-3 wrote:
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine?
WebKit has switched to SquirrelFish-based JSC since quite some time. r38068 is from around November, so it should use SquirrelFish already.
Note that SquirrelFish Extreme is of course a different matter.
-- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices R&D _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-- View this message in context: http://www.nabble.com/SquirrelFish-in-WebKitGtk-tp20728765p21331521.html Sent from the Webkit mailing list archive at Nabble.com.
Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from web pages doesn't have to be compiled somehow? How do we do that? What about the JavaScript objects that are created using the JavaScriptAPI? How does SquirrelFish handle these objects?
Why don't you start with http://webkit.org/blog/189/announcing-squirrelfish/ and continue from there? -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices R&D
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine?
The old AST engine was removed in June when we switch to the original SquirrelFish, so you can't not have SF now :D Likewise once SquirrelFish Extreme was landed it became non-optional. It is possible you won't get the JIT as that's architecture dependent, but if you're on x86-32 you should be fine. On Jan 7, 2009, at 5:41 AM, Iulian wrote:
Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from web pages doesn't have to be compiled somehow? How do we do that? What about the JavaScript objects that are created using the JavaScriptAPI? How does SquirrelFish handle these objects?
I'm not sure what you mean by this, i'd recommend you look at the initial blog post at http://webkit.org/blog/189/announcing-squirrelfish/ . But whether we use bytecode, native code, or an AST interpreter is secondary to the internal representation of object. The implementation of objects can be seen in JavaScriptCore/runtime/ JSObject.{h,cpp} and you an see that there's no dependency on JavaScriptCore's execution engine. --Oliver
Iulian
Ariya Hidayat-3 wrote:
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine?
WebKit has switched to SquirrelFish-based JSC since quite some time. r38068 is from around November, so it should use SquirrelFish already.
Note that SquirrelFish Extreme is of course a different matter.
-- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices R&D _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-- View this message in context: http://www.nabble.com/SquirrelFish-in-WebKitGtk-tp20728765p21331521.html Sent from the Webkit mailing list archive at Nabble.com.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
participants (5)
-
Ariya Hidayat
-
Iulian
-
Kalle Vahlman
-
Oliver Hunt
-
ying lcs