glenjamin/node-fib
View on GitHub ↗ ★ 138 JavaScript
Fast non-blocking fibonacci server
5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2011-10-03 · latest 2011-12-19
20082026
-
We can use the technique first described here https://github.com/glenjamin/node-fib by using Fibur.pass. def fib(n) Fibur.pass return n if (0..1).include? n fib(n-1) + fib(n-2) if n > 1 end Now, if you wrap this in Fibur.new, you will get…
comment by wycats · 2011-12-19 · in Fibur gives you full concurrency during your I/O calls in Ruby 1.9 -
…you think this guy is a troll or if he truly believes Node can be good at these sorts of problems: https://github.com/glenjamin/node-fib
comment by bascule · 2011-10-06 · in Ask HN: What Node.js fanboys? -
https://github.com/glenjamin/node-fib is close enough. Trying to explain how Node can do concurrent Fibonacci without calling another process is falling for the troll's trap - Node isn't "the one true tool", and you don't need to try to…
comment by wisty · 2011-10-05 · in Node.js has jumped the shark -
I've just submitted a pull request that I think really enhances this app. https://github.com/glenjamin/node-fib/pull/5/files
comment by tedjdziuba · 2011-10-03 · in Node-fib: Fast non-blocking fibonacci server