News for hackers. Stuff that matters.
Re:Node.net - Node.js implemented in Javascript on the .NET ... by necubi on Monday May 24, 2010 @02:20AM (#1373932)
Much of the efficiency gains of non-threaded event-based systems like node.js come from not having "the cost of a thread," so creating threads to work around blocking apis would eliminate a large part of the point of having such systems in the first place. You still get the advantage of not having to deal with the other issues inherent in threading, but you lose the low memory and cpu usage.
Re:Node.net - Node.js implemented in Javascript on the .NET ... by profquail on Monday May 24, 2010 @07:53AM (#1374379)
I'll admit that I don't know much about Node.js beyond the (very) basics, but if this (not having "the cost of a thread") is where Node.js shines, then this project might be very good on top of the .NET CLR 4.0. There's been a lot done under the hood to support async / parallel processing (specifically, reworking and optimizing the built-in ThreadPool, which is used for very short tasks to avoid "the cost of a thread").
Re:Node.net - Node.js implemented in Javascript on the .NET ... by jerf on Monday May 24, 2010 @01:23PM (#1375124)
Yes yes yes, but being able to do something like shrink a PNG every so often with a thread could be the difference between being able to use Node.js.net and not. And later you can slide in a async solution later if one develops.