On Apr 9, 2012, at 11:51 PM, Joe Ferner wrote:

> Many streamline like APIs use node-fibers 
> <https://github.com/laverdet/node-fibers> under the covers and fibers 
> requires isolates which is now deprecated and is going to be removed if it 
> hasn't already.


Isolates are *not* a feature of node, Isolates are a part of v8 and aren't 
deprecated nor going to be removed.


> I also think that the way it works under the covers also incurs performance 
> impacts because it ends up implementing threading which is slow.


That's funny because every process in your machine *is* a thread (at least one 
thread), and nearly 100% of them have more than a thread, e.g. FYI a node 
process normally uses 3 (and up to 5) threads itself. Right now in my Mac as I 
write this, there are 64 processes and 270 threads running, simply because 
threads are the essential building block to achieve concurrency and parallelism:



> If
> you like non-callback APIs I just wouldn't use node if I were you.


And you'd only be fine until the program grows, then you'd begin to have 
difficulties in understanding/following your own program's logic.


> I like using the async library when things get complicated.


Right, the hello world http server in nodejs.org front page doesn't need it.
-- 
Jorge.

<<inline: PastedGraphic-2.png>>

-- 
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

Reply via email to