News for hackers. Stuff that matters.
Re:Node.js - A giant step backwards? by ww520 on Wednesday January 25, 2012 @03:34PM (#3511602)
Node.js is concurrent - you can have multiple paths of execution at the same time. It's just that Node.js concurrency has non-preemptive context switch at well defined points - function boundary, thus no need for lock, whereas preemptive concurrency can context switch at any point and thus needs lock.
Re:Node.js - A giant step backwards? by spullara on Wednesday January 25, 2012 @03:54PM (#3511684)
There are multiple paths of execution your code but they are never running concurrently. Only the underlying I/O is really executing concurrently with your code.
Re:Node.js - A giant step backwards? by ww520 on Thursday January 26, 2012 @01:05AM (#3513094)
Multiple paths of execution is concurrency. I guess what you intended to mean was parallelism, which is different from concurrency.

A multi-threaded program running on a single core system has only one path executed at any given time, but we still call it a concurrent program.

Re:Node.js - A giant step backwards? by spullara on Saturday January 28, 2012 @08:34PM (#3524091)
Concurrency is a superset and includes parallelism. What we both really mean is that it uses at most one core at a time to execute your code.

http://en.wikipedia.org/wiki/Concurrency_(computer_science)

Re:Node.js - A giant step backwards? by vvcephei on Wednesday January 25, 2012 @03:47PM (#3511661)
_That_ I did not know. Thanks!