Ok, the bit about functions belonging to the context they're compiled in is
what had bitten me in the past that I couldn't quite remember.   Thank you.

On Fri, Jun 24, 2016 at 6:45 AM, Ben Noordhuis <[email protected]> wrote:

> On Fri, Jun 24, 2016 at 12:43 PM, Zac Hansen <[email protected]> wrote:
> > Define "everything"?   Could I take any javascript program and take each
> > line and run it in a different context (on the same isolate) and it would
> > work?   At least theoretically,  with no fundamental changes to the
> program?
>
> Not quite.  The fundamental unit of execution in V8 is the function.
> Functions belong to the context they're compiled in.
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/v8-users/SVISaM3bR8k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to