Re: [v8-users] Re: What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
Thank you. That solves my question. On Wednesday, October 3, 2018 at 8:08:06 PM UTC-7, Jakob Kummerow wrote: > > The purpose of d8's --isolate flag is to make it possible to test that > scripts in different isolates can indeed run without interference from each > other. Such scripts cannot

Re: [v8-users] Re: What is the purpose of isolated source group

2018-10-03 Thread Jakob Kummerow
The purpose of d8's --isolate flag is to make it possible to test that scripts in different isolates can indeed run without interference from each other. Such scripts cannot communicate with each other (as the name "isolate" implies). On Wed, Oct 3, 2018 at 6:44 PM Mingwei Zhang wrote: > I

[v8-users] Re: What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
I realize that I made a mistake. So d8 API does provide support for Worker and I suspect developers could use postMessage to talk with each other? But still, I think my question remains. For a command like: ./d8 a.js --isolate b.js How does a.js talk with b.js. In Worker example, a.js could

Re: [v8-users] Intent to ship: well-formed JSON.stringify

2018-10-03 Thread Sathya Gunasekaran
LGTM2 On Wed, Oct 3, 2018 at 2:42 PM Adam Klein wrote: > LGTM > > On Wed, Oct 3, 2018 at 8:09 AM 'Mathias Bynens' via v8-users < > v8-users@googlegroups.com> wrote: > >> Contact emails >> >> math...@chromium.org >> >> Spec >> >> https://github.com/tc39/proposal-well-formed-stringify >> >>

Re: [v8-users] Intent to ship: well-formed JSON.stringify

2018-10-03 Thread Adam Klein
LGTM On Wed, Oct 3, 2018 at 8:09 AM 'Mathias Bynens' via v8-users < v8-users@googlegroups.com> wrote: > Contact emails > > math...@chromium.org > > Spec > > https://github.com/tc39/proposal-well-formed-stringify > > Summary > > A Stage 3 proposal changes JSON.stringify to prevent it from

[v8-users] What is the purpose of isolated source group

2018-10-03 Thread Mingwei Zhang
Hi, I am wondering what is the purpose of the options "--isolate" for the stand-alone binary d8. It is pretty interesting that the option '--isolate' could be used to launch multiple JavaScripts and runtime them truly in parallel. However, since JavaScript is single-threaded by design. This

Re: [v8-users] What are the threading considerations for EmbedderHeapTracer?

2018-10-03 Thread 'Kenton Varda' via v8-users
On Wed, Oct 3, 2018 at 1:49 AM Michael Lippautz wrote: > It appears that it's possible that an object registered with >> EmbedderHeapTracer::RegisterV8References() can actually be collected (i.e. >> its weak callback is called) between then and >> EmbedderHeapTracer::AdvanceTracing(). So, in

[v8-users] Intent to ship: well-formed JSON.stringify

2018-10-03 Thread 'Mathias Bynens' via v8-users
Contact emails math...@chromium.org Spec https://github.com/tc39/proposal-well-formed-stringify Summary A Stage 3 proposal changes JSON.stringify to prevent it from returning ill-formed Unicode strings. Motivation RFC 8259 section 8.1

Re: [v8-users] What are the threading considerations for EmbedderHeapTracer?

2018-10-03 Thread Michael Lippautz
On Tue, Oct 2, 2018 at 10:12 PM 'Kenton Varda' via v8-users < v8-users@googlegroups.com> wrote: > On Tue, Oct 2, 2018 at 11:10 AM Michael Lippautz > wrote: > >> Glad that your setup works for you now. Is your project open source? In >> any case, let us know if you encounter any further issues.