Given how many bugs I've dealt with involving race conditions in .Net, I would really rather have a solid worker pattern over any internal threading inside the main event loop in js as this thread has proposed...
Adding an rpc-like promise callback in addition to, or over message passing would be far safer... Internal threading may be "a solved problem" but it creates so many new ones with really weird bugs to go with them. On Nov 2, 2016 8:03 AM, "Bradley Meck" <[email protected]> wrote: > > > As I said... JS has mutable objects by default. The memory space SHALL > be the same. > > > What is not being covered? Let it come to the surface. > > As stated, that single threaded access to objects and shared memory > multi-threaded access are very different. > > On Wed, Nov 2, 2016 at 9:56 AM, Leo Dutra <[email protected]> wrote: > >> Message passing between two objects is a Law of Nature, broad and >> powerful. >> But there's more than just workers and process spawn in life. >> >> As I said... JS has mutable objects by default. The memory space SHALL be >> the same. >> >> Atomic could handle the racing when needed and a Mutex for locking. >> >> What is not being covered? Let it come to the surface. >> > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

