[v8-users] Re: Convert Value* back to Local

2017-12-14 Thread J Decker
On Thu, Dec 14, 2017 at 10:17 PM, J Decker wrote: > > I have this process that wants to take the result of a callback and then > pass that as the object for the next callback invokation... > > (truncated; argc is missing for instance; mostly I'm just intested in > result, and

[v8-users] Convert Value* back to Local

2017-12-14 Thread J Decker
I have this process that wants to take the result of a callback and then pass that as the object for the next callback invokation... (truncated; argc is missing for instance; mostly I'm just intested in result, and the arg back in ) void f( uintptr_t psv ) { Local *argv = new Local[argc+1];

[v8-users] RPC to browser

2017-12-14 Thread m ghenoic
Are there any RPCs for Chromium V8? If we had remote procedure call access to either the DOM or a meta object, then we could either drive the client browser from the server, or manipulate a headless Chromium browser and sync it. This would give us an alternative to large Javascript frameworks

Re: [v8-users] Query regarding file size of snaphot_blob.bin

2017-12-14 Thread 'Jakob Gruber' via v8-users
On Thu, Dec 14, 2017 at 10:39 AM, wrote: > On Thursday, December 14, 2017 at 2:44:15 PM UTC+5:30, Ben Noordhuis wrote: >> >> On Thu, Dec 14, 2017 at 7:22 AM, wrote: >> > 1) How is snapshot_blob.bin generated at compile time ? (If possible >>

Re: [v8-users] Query regarding file size of snaphot_blob.bin

2017-12-14 Thread uzair . jaleel
Hi Jakob, Our current aim is to reduce the size of binary. Thanks On Thursday, December 14, 2017 at 3:07:43 PM UTC+5:30, Jakob Gruber wrote: > > We've actually been working on reducing memory overhead around the > snapshot, > see the lazy builtins design doc at http://goo.gl/dxkYDZ. Note

Re: [v8-users] Query regarding file size of snaphot_blob.bin

2017-12-14 Thread uzair . jaleel
On Thursday, December 14, 2017 at 2:44:15 PM UTC+5:30, Ben Noordhuis wrote: > > On Thu, Dec 14, 2017 at 7:22 AM, > wrote: > > 1) How is snapshot_blob.bin generated at compile time ? (If possible > where > > in chromium code ) > > Look for a file called

Re: [v8-users] Query regarding file size of snaphot_blob.bin

2017-12-14 Thread 'Jakob Gruber' via v8-users
We've actually been working on reducing memory overhead around the snapshot, see the lazy builtins design doc at http://goo.gl/dxkYDZ. Note though that this is intended to reduce runtime memory use, not the size of the snapshot blob itself. I'd expect the snapshot blob to grow further in the

Re: [v8-users] Query regarding file size of snaphot_blob.bin

2017-12-14 Thread Ben Noordhuis
On Thu, Dec 14, 2017 at 7:22 AM, wrote: > 1) How is snapshot_blob.bin generated at compile time ? (If possible where > in chromium code ) Look for a file called mksnapshot.cc in v8/src/snapshot. > 2) Is it possible to reduce the size of snapshot_blob.bin ? (if yes

[v8-users] Re: clearing all handles from makeContext()

2017-12-14 Thread Zac Hansen
Wouldn't it be better to ask on a node mailing list? On Wednesday, December 13, 2017 at 10:54:15 PM UTC-8, madana gopal wrote: > > Hi Team, > > We are creating a V8 context frequently calling node::makeContext() from > c++ code. But it seen, below objects created from native context (in >