Re: [v8-dev] Is it possible to serialize a funciton pointer or a generic JS object to a string?

2017-07-17 Thread Ben Noordhuis
On Mon, Jul 17, 2017 at 3:27 PM, wrote: > Hello, > > I am trying to pass a function pointer through a string pipe and recover it > on the other end. It seems that if serialization to a string is possible and > I can deserizalize the string in C++ to a v8::Object or a

[v8-dev] Is it possible to serialize a funciton pointer or a generic JS object to a string?

2017-07-17 Thread keremkat
Hello, I am trying to pass a function pointer through a string pipe and recover it on the other end. It seems that if serialization to a string is possible and I can deserizalize the string in C++ to a v8::Object or a v8::Function, it would be invoked or assigned to a JS property value.

[v8-dev] Performance Comparison Between V8 And JSC Using ARM PMU On weex Scenario

2017-07-17 Thread manjian2006
Background After weex project switch from V8 to JSC, it gains an amazing performance boost. But UC Browser project must use V8, for the close binding of the browser and the VM. Then a question is raised: why JSC is fast, and can V8 improve? The First look V8 and JSC are CPU intensive