I wonder if this is an instance where a more concrete example of the use case you're trying to apply with Isolates or Contexts would be helpful?
I'm definitely tilting towards the edge of my understanding and competence though, but hopefully I can at least quack a bit and the rubber duck will go on :)
No particular use-case at the moment, but I was reading more about the Cloudflare Worker runtime which explains how they are using v8 Isolates to create sandboxed serverless workers. Some details here: blog.cloudflare.com/serverless-per...
I wonder if this is an instance where a more concrete example of the use case you're trying to apply with Isolates or Contexts would be helpful?
I'm definitely tilting towards the edge of my understanding and competence though, but hopefully I can at least quack a bit and the rubber duck will go on :)
No particular use-case at the moment, but I was reading more about the Cloudflare Worker runtime which explains how they are using v8 Isolates to create sandboxed serverless workers. Some details here: blog.cloudflare.com/serverless-per...
@Zee i found some additional examples in NodeJS source, using Isolates in the experimental Workers API: github.com/nodejs/node/blob/master...
some more details provided by a member of the v8 team, Yang Guo.
twitter.com/hashseed/status/106875...
Nice, that feels like it clears things up a bit more!