> My concern with this is every value, like a String, is a Persistent 
> handle. I was wondering if there was some kind of way to port a HandleScope 
> to my language so I can construct the object. In this case is Handle/Local 
> vs Persistent even matter? Do I get some sort of gain by avoiding 
> Persistent in this situation?
>

The HandleScope is connected on a low level way with the garbage collector 
in V8. I doubt that this is very easy to connect to a different language. 
You might have cases where your language copies and keeps a pointer which 
V8 garbage collects. One way to escape that is the Persistent handle...
 

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to