I know that Node uses V8 as its Javascript engine, and it is the only thing about Node. So what I was asking was - What becomes easier if I use Node (including V8, of course) instead of only native V8? What features of Node.js makes it easier to do multithreading?
Thank you. On Friday, February 26, 2016 at 9:00:56 PM UTC-5, Michael Zhou wrote: > > Node, at its core, uses V8 as its JavaScript engine. What do you mean by > "native V8"? > > On Friday, February 26, 2016 at 7:07:35 PM UTC-5, Tiny Wings wrote: >> >> Thank you very much for your answer. >> Could you let me know what those showstoppers are? >> And I don't have any experience with Node and I'm not intending to build >> a web server either. Is Node easier to use than native V8 for >> parallelization? >> >> Thank you. >> >> On Tuesday, February 23, 2016 at 1:31:55 PM UTC-5, >> [email protected] wrote: >>> >>> I, too, looked at adding OpenMP to v8 but there are several showstoppers >>> to adding parallelism *inside* v8. My solution was to add shared, >>> persistent objects as a native addon, and fork multiple instances of Node >>> for concurrency. >>> >>> The native addon prevents this from being used in browsers, but this >>> approach works embedded in systems with POSIX-like shared memory: EMS.js >>> home page <http://syntheticsemantics.com/EMS.js/>, GitHub >>> <https://github.com/SyntheticSemantics/ems> >>> >>> -J >>> >>> >>> On Monday, February 22, 2016 at 11:34:38 PM UTC-8, Tiny Wings wrote: >>>> >>>> About my question: >>>> This is actually not really much about parallelization; this is rather >>>> about how to do launch multiple threads in multiple cores within a >>>> javascript program and make them communicate when needed. >>>> >>> -- -- 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.
