On Mon, Jan 4, 2010 at 6:50 PM, Philippe Roy <[email protected]>wrote:

> 1) v8.lib is 100 MB... That is absolutely not reasonable. I am under
> Win 32.


This is a common complaint (check the list archives), and the problem is not
v8, but the build environment and compilation flags. On my box, libv8 is
2.4MB (32bit) or about 10x that size for the debug lib.


> 2) My pick of Google v8 was partially motivated by the statements that
> it is the fastest Javascript engine around.


i don't think anyone's claimed that v8 COMPILES the fastest (your demo is
compile-heavy but execution-light, AFAICS). i think the speed comparisons
which have been made measured in terms of JS runtime speed, not JS compile
time speed. In my (simplified) tests, comparing v8 to SpiderMonkey, v8 calls
functions about 200x(!!!) faster than SpiderMonkey. While no scripting
language will ever be as fast or memory-light as a compiled language, v8 is
fast for a JS engine.


PS: if you're really throwing exceptions by pointer, instead of const
reference, you REALLY should pick up a copy of Scott Meyers' "Effective
C++".

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to