This looks similar to the work on isolates from a while back, can you enumerate the differences and if you are managing some of the more complex state of processes like process.env / process.cwd?
On Monday, August 13, 2012 1:04:09 PM UTC-5, Kevin Jones wrote: > > Hi All, > > > I have created a prototype of LWP running over threads for node. There > are a couple of short videos of it running at > > http://www.youtube.com/channel/UCEKyOjUJwxe6kTes3p-HYRg. The code & > pre-built Windows binary are at > https://github.com/westboost/troop.js.proto. Only Windows support is > working at the moment. You should be able to run any standard node code in > each LWP without problems. > > > I am sure some/many will view this as unneeded, my interest is being > able to use node for medium/heavy data processing and in that area I was > concerned processes (particularly IPC) would really would become an issue, > so hence a prototype using threads to see how scary it was. LWP was just > a convenient model to present the threads. The code was designed as far as > possible to be a bolt-on to node to make it easy to track changes without > too much heartache, it's currently based on v0.8. > > > What I have not put much/any effort into is defining a decent interface > to the LWP model, all you can do at the moment is exec() to create new LWP. > Very much open to suggestions on what people would think is > essential/useful. Feel free to open wish list items against the prototype, > I will look at these when deciding on what changes are needed for a > production version with wider OS support to work. > > > Enjoy, > > Kev > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
