Questions tagged [embedded-v8]
253 questions
3
votes
1 answer
How to enter a v8::Persistent in a multithreaded environment?
I trying to setup a multithreaded environment there multiple v8::Isolate objects may be entered/exited constantly to compile and run some JavaScript code. I have a method that should compile and run som javascript code in a specific…

Fredrik
- 893
- 2
- 10
- 20
3
votes
1 answer
Why using Local::New together with String::New()
I used this:
Local argv[argc] = { String::New("hello world") };
But now I see the example on node.js website:
Local argv[argc] = { Local::New(String::New("hello world")) };
What does it mean? What's difference, when an dwhy…

exebook
- 32,014
- 33
- 141
- 226
3
votes
1 answer
Node.js addon object destruction
I am writing a GPU database and looking at using javascript as language to query against using node.js.
I have been writing a node addon as I have written the GPU database in C++. However I have problem with my node.js addon as my c++ objects are…

user3199023
- 433
- 2
- 8
3
votes
1 answer
For the NEON coding for ARM Arch64,How do you push the registers to the stack??Seems like STMFD is not a part of the instruction set on Arch64?
For the NEON coding for ARM Arch64,How do you push the registers to the stack??Seems like STMFD is not a part of the instruction set on Arch64?Do you just save the register pairs on to the stack one by one?

user3339986
- 33
- 5
3
votes
1 answer
Storing handles to objects in a hashmap or set in Google's V8 engine
I would like to implement this functionality in an embedded JavaScript application that uses v8 engine.
function myFunction1() {
//do stuff
}
function myFunction2() {
//do other…

robot_guy
- 31
- 3
3
votes
2 answers
v8::Script::Compile(v8::String::New(".make.some.syntax.errors"), v8::String::New("main"))->Run() causes segmentation fault
Let say I have this code:
Local