Re:Node-fib: Fast non-blocking fibonacci server
by tomjen3 on Monday October 03, 2011 @03:53PM
(#3067723)
I am not quite sure what it is you are trying to say. Node does (in this case) require a bit more hands on approach than most other languages but that is because of a subtile but important difference. Node uses corporative concurrency whereas threads are not corporative. This is both a disadvantage (you are required to do more work and cannot take proper advantage of multiple CPUs) and a huge advantage (no locking is needed and you can share the results between different execution points).
Of course the real issue is that you should choose a better implementation of the algorithm.
Of course the real issue is that you should choose a better implementation of the algorithm.