[v8-users] Re: V8 handle scope usage error.

2013-01-23 Thread Neha
Thanks Jason. Lock helps to get off the error:) On Monday, January 21, 2013 12:24:59 PM UTC+5:30, Jason Del Ponte wrote: > I'm pretty new to v8, but I believe the exception you're hitting is > because your code is accessing the v8 context before v8's lock was > incremented. Common case for t

[v8-users] Re: Performance running v8 scripts.

2013-01-23 Thread Neha
To be more elaborate, i am trying to use v8 on windows woth C++ application. When i initialize my application, i compile the script. The compile script is stored along with the context in which it is compiled. So i have code as follows: v8::Persistent context = v8::Context::New( NULL, contex

[v8-users] ES6 Iterators and Generators?

2013-01-23 Thread Jason Ganetsky
Any plans to implement the yield keyword? It would be awesome. -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users

[v8-users] Difference between locker and isolate?

2013-01-23 Thread Neha
What is the difference between between using : v8::Locker locker(isolate); v8::Isolate::Scope isolate_scope(isolate); v8::HandleScope handle_scope; OR using the following: v8::Locker locker; v8::HandleScope handle_scope; What are the scenarios for using the above two conditions. Appreci

[v8-users] Re: creating Handle

2013-01-23 Thread sc
so , i tried running internal::String::IsString() function , and it is successful , making me even more confused about the fact that the isString in object-inl.h fails , and somehow does not recognize the '\n' ? someone got an advice? On Monday, January 21, 2013 10:09:20 PM UTC+2, sc wrote: >