[v8-users] Error embedding v8

2019-04-15 Thread anastasiaklimova303
When I am trying to compile project with v8 - I am getting error that v8_base_without_compiler_0 has unresolved symbol for "public: virtual bool __cdecl v8::internal::SetupIsolateDelegate::SetupHeap(class v8::internal::Heap *)"

[v8-users] Is v8::CpuProfile::CollectSample(v8::Isolate*) thread-safe?

2019-04-15 Thread Bit Cortex
Is it safe to call this method from another thread while V8 is running script code? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe

[v8-users] Is v8::CpuProfile::CollectSample(v8::Isolate*) thread-safe?

2019-04-15 Thread Bit Cortex
That is, can this method be called from another thread while V8 is running script code? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe

Re: [v8-users] Re: Invalid or corrupted .lib file

2019-04-15 Thread Anastasia Riza
How can I compile v8 without using snapshot .bin files? вс, 14 апр. 2019 г. в 20:43, Anastasia Riza : > I solved it! Thank you! I had to add: > > #pragma comment(lib, "winmm.lib") > #pragma comment(lib, "dbghelp.lib") > #pragma comment(lib, "shlwapi.lib") > > > I solved it! Thank you! I had to

Re: [v8-users] Re: Does 'eval' has the same performance as an explicit Script->Compile->Run pipeline?

2019-04-15 Thread Jakob Kummerow
For eval, two cases need to be distinguished: functions containing an eval statement, and functions defined inside eval'ed code. Consider: function foo() { /* lots of stuff... */ eval("function bar() { /* lots of stuff... */ }"); /* more stuff... */ } foo(); bar(); In this case, function

Re: [v8-users] Re: Does 'eval' has the same performance as an explicit Script->Compile->Run pipeline?

2019-04-15 Thread 'Mathias Bynens' via v8-users
The document you linked to is outdated. It was based on Crankshaft which hasn't been used since V8 v5.9. See the first two lines: *All this is wrong in TurboFan. (Node 8+)* *Please do not take anything written here as performance advice, this is here for historical reasons.* On Sun, Apr 14,