Soren,

Somtimes, size does matter... I was working on an article that shows
how to perform conceptual analysis from textual input (that uses v8).
In order to post an article with a reasonable download size, I could
not integrate a 100 MB download into it. I fixed the issue by
compiling the shared library and taking the lib that resulted from
that compile instead.

BTW, the article in question is here:
http://www.codeproject.com/KB/recipes/DigitalConceptBuilder.aspx. It
does some pretty neat stuff with v8 and defines some nice artificial
intelligence tricks to deal with language to produce and manipulate
concepts.

Thank you.

Philippe Roy

2010/1/11 Søren Gjesse <[email protected]>:
> The size of the v8.lib file is not really important, what matters is the
> size of the resulting executable (either the program statically linked with
> v8.lib or the generated v8.dll when using a shared library). With Visual C++
> 2008 (both Express and Retail) v8.lib ends up at almost 100MB when build on
> its own. It is 25MB with mscvltcg=off and about 30MB for the debug version.
> However when the sample shell is build and statically linked to V8 the
> resulting executable is about 1.3 MB (a bit larger when mscvltcg=off is
> used).
> Regards,
> Søren
>
> On Thu, Jan 7, 2010 at 18:22, Jens Alfke <[email protected]> wrote:
>>
>> On Jan 6, 2010, at 5:47 PM, Philippe Roy wrote:
>>
>>> OK, I finally got v8 to work and the lib to a reasonable size. For the
>>> records, the lib file generated while creating the dll is the one to
>>> use. It is about 180 K in size. Then, one has to recompile the program
>>> that uses v8 with the preprocessor option USING_V8_SHARED and add the
>>> lib file to the project. Then, you need to ensure that v8.dll is in
>>> the working directory at startup.
>>
>> Cool! So now, in the spirit of open source, you are going to add the
>> documentation on how to do this to the wiki, right? :)
>>
>> —Jens
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to