We have successfully embedded V8 (4.5.103.35) in our C++ application and
are using JavaScript to implement specific business rules in our
application. Some of the objects exposed to the JavaScript code are
constructed from v8::ObjectTemplate wrappers that access native C++ data
and methods.
I was able to build v8 4.6.88 successfully with Visual Studio 2013 with the
following flags:
-Dtarget_arch=x64 -Dv8_use_external_startup_data=0
I got the following libraries:
$ ls -l build/Release/lib
total 353468
-rwxr-xr-x 1 jchen Domain Users 3140002 Dec 21 17:20 gmock.lib
-rwxr-xr-x 1
hey,
does the documented way work for you: install depot_tools, put it into your
path, and use "fetch v8" to checkout v8?
best
-jochen
On Sun, Dec 20, 2015 at 7:37 PM Zyr Ius wrote:
> For two upcoming projects I've been wanting to implement the V8 JavaScript
> engine as
Hi there!
This is maybe a pretty stupid question:
I printed the following code, with the following v8 command:
user@debugbox: v8/out/ia32.release/d8 --print_opt_code test.js
--- Raw source ---
(n)
{
return Math.floor(Math.random() * n);
}
--- Optimized code ---
optimization_id = 0
On Mon, Dec 21, 2015 at 5:38 PM, D T wrote:
> To my understanding, this is the ASM code, V8 produces for my Javascript
> input file?
>
Yes. More specifically, it's the optimized code that was generated for your
"rnd" function.
> So if I execute my JS file with Chrome