Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2011 (5)
20082026
  1. 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…
  2. …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?
  3. 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
  4. 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