SquirrelFis Internals
Hi Squirrelfish Developers, Hope you are all fine. This is skra, new entrant in the field of JavaScript engine. While googling about JavaScript engines, i heard of the name "SquirrelFish Extreme- an ultimate fastest JavaScript engine". Thanks to all for contributing their ideas. Just iam having some technical queries about squirrelfish. How can we benchmark squirrelfish as fastest. How can we compare with spider monkey or V8. How can i know the internals of squirrelfish. After perusing the source code, I understand the hierarchy of working procedure(as for my understanding) JavaScript Src - > parser -> yarr -> WREC
icu > compiler(using generator) produces byte code. Generated byte code is converted to machine code using JIT and assembler.
If my understanding is wrong please correct me. What is the use of wtf and pcre module. How runtime module comes into picture. Thanks & Regards, skar......[?]
Welcome, you can find some docs about SF internals here: http://trac.webkit.org/wiki JavaScriptCore section and blog posts here: http://webkit.sed.hu About comparing different JS engines: all JS engines have a command line tool (jsc in case of SquirrelFish) and there are benchmarks as well: SunSpider, V8, WindScorpion Use WebKitTools/Scripts/run-sunspider script to get a fancy output, and WebKitTools/Scripts/sunspider-compare-results to compare the results. The workflow: src (as string) -> bison parser -> squirrelfish byte code -> jit compiler -> machine executable yarr, pcre, wrec - regular expression engines icu - unicode support wtf - web template framework - general utilities, similar to C++ STL Zoltan
Hi Squirrelfish Developers,
Hope you are all fine. This is skra, new entrant in the field of JavaScript engine. While googling about JavaScript engines, i heard of the name "SquirrelFish Extreme- an ultimate fastest JavaScript engine". Thanks to all for contributing their ideas.
Just iam having some technical queries about squirrelfish. How can we benchmark squirrelfish as fastest. How can we compare with spider monkey or V8. How can i know the internals of squirrelfish. After perusing the source code, I understand the hierarchy of working procedure(as for my understanding) JavaScript Src - > parser -> yarr -> WREC
icu > compiler(using generator) produces byte code. Generated byte code is converted to machine code using JIT and assembler.
If my understanding is wrong please correct me. What is the use of wtf and pcre module. How runtime module comes into picture.
Thanks & Regards, skar......[?] _______________________________________________ squirrelfish-dev mailing list squirrelfish-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev
participants (2)
-
s k
-
Zoltan Herczeg