Hacker GitHub

← All repos

olegp/common-node

View on GitHub ↗ ★ 240 JavaScript archived

Synchronous CommonJS compatibility layer using node-fibers

29 mentions on Hacker News by 1 person: 0 stories, 29 comments · first 2011-08-06 · latest 2023-03-16

Mentions per year 29 mentions · busiest year 2013 (13)
20082026
  1. As someone who wrote something similar ( https://github.com/olegp/common-node ) back in the day before async/await, I have to say that I don't see much of a need for this nowadays. The only feature that's still useful that I can think of…
  2. …JS that is portable between the browser via Web Workers and the server using Node and Common Node ( https://github.com/olegp/common-node ). We'll blog about it at https://starthq.com/blog/ in the near future.
    comment by olegp · 2014-07-06 · in Farewell Node.js
  3. Co-routines are great! Have been using them as part of Common Node ( https://github.com/olegp/common-node ) via node-fibers for a number of projects. Both stability and performance have been admirable. For example at StartHQ (…
  4. …out my Common Node projects which uses fibers to emulate threads and a synchronous environment: https://github.com/olegp/common-node Here's a slightly more advanced version of a Telnet server written for Common Node:…
  5. …this to be the case time after time at https://starthq.com , which runs on Node but uses fibers via https://github.com/olegp/common-node .
    comment by olegp · 2013-09-01 · in Exceptions (2003)
  6. …streams in particular where you need to wait until they become readable. I've written Common Node ( https://github.com/olegp/common-node ) to do just this and made it CommonJS and RingoJS compatible, which means the code written for Common…
  7. Agreed, that's why we're using fibers and common-node ( https://github.com/olegp/common-node ) at https://starthq.com
  8. You can use fibers. We are doing that via common-node ( https://github.com/olegp/common-node/ ) and are very happy with the choice at https://starthq.com
    comment by olegp · 2013-08-13 · in The Future of Programming in Node.js
  9. …aren't a good fit in my opinion. I do like writing command line tools using Common Node though: https://github.com/olegp/common-node
  10. …a AWS micro instance. The one thing we do differently is that we're using fibers and Common Node ( https://github.com/olegp/common-node ), as well as Stick ( https://github.com/olegp/stick ) instead of Express. This lets us write complex…
    comment by olegp · 2013-08-03 · in Mean Stack
  11. Have you looked at https://github.com/olegp/common-node ?
    comment by olegp · 2013-07-26 · in Node v0.10.14 (Stable)
  12. Alternatively you could use fibers. We've been using them together with Common Node ( https://github.com/olegp/common-node ) at https://starthq.com with great success - running smoothly on an EC2 micro instance with 300+ concurrent users…
  13. …the current one terminates. We've handled this issue and kept business logic code simple by using https://github.com/olegp/common-node which uses fibers to present synchronous APIs, allowing us to use exceptions for error handling. Be very…
  14. …(V8) tends to have much higher variance in response times when compared to Java Servlets (JVM): https://github.com/olegp/common-node#benchmarks
    comment by olegp · 2013-03-28 · in Web Framework Benchmarks
  15. …can use fibers with Node. I've been using them for StartHQ ( http://starthq.com ) via Common Node ( https://github.com/olegp/common-node ) and to be honest I don't see how I could have made it maintainable with promises, let alone no flow…
  16. Shameless plug here but I'd say Common Node is pretty good: https://github.com/olegp/common-node - it lets you write your server using a synchronous style while retaining the low memory usage and quick start up speed of Node.js. For…
  17. …fibers today. I've implemented a number of synchronous CommonJS specs on top of Node using fibers ( https://github.com/olegp/common-node ), which allows me to use libraries written for RingoJS (e.g. https://github.com/olegp/stick ) with…
  18. …plain coffee-script with node-fibers instead? It might also be worth looking into Common Node ( https://github.com/olegp/common-node ) that I'm working on which provides a higher level abstraction: https://gist.github.com/1447709
    comment by olegp · 2012-05-23 · in List of Languages that Compile to JS
  19. …waiting on I/O. Here are some benchmarks I put together comparing V8 (Node) to Rhino (RingoJS): https://github.com/olegp/common-node#benchmarks
  20. …benchmarks in the README to Common Node, a library that I wrote that makes using fibers easier: https://github.com/olegp/common-node#readme Lazy loading becomes very straightforward and something I do fairly often when using e.g.…
  21. …of the purely asynchronous code. You can find the benchmarks and results in the project README: https://github.com/olegp/common-node#readme Here are the graphs: http://www.slideshare.net/olegp/server-side-javascript-going...
    comment by olegp · 2012-02-15 · in Ace - Sinatra for Node with Fibers
  22. …server side work, so I've made it possible on Node with the help of node-fibers. Common Node ( https://github.com/olegp/common-node/ ) gives you the best of both worlds: it's easy to develop in & debug just like Ringo yet has low memory…
  23. …working with Node, you should check out https://github.com/laverdet/node-fibers . I use it in my https://github.com/olegp/common-node package to address the same issues as those tackled by StratifiedJS.
  24. …. For some benchmarks, check out my Common Node project's README: https://github.com/olegp/common-node
    comment by olegp · 2012-01-26 · in Node.js - A giant step backwards?
  25. …performance to purely asynchronous webapps, check out the README to my Common Node project ( https://github.com/olegp/common-node ), which implements a number of synchronous CommonJS proposals on Node using fibers.
  26. …threads is totally doable in Node using node-fibers. For benchmarks, check out the README at http://github.com/olegp/common-node/
  27. My JSGI implementation in Common Node ( https://github.com/olegp/common-node ) uses node-fibers allowing it to stream out responses without blocking the event loop. In fact, by connecting an input stream to an output stream (forEachable…
    comment by olegp · 2011-09-21 · in Strata Web Framework
  28. …at implementing the synchronous CommonJS proposals on top of Node using node-fibers. Take a look at https://github.com/olegp/common-node and scroll to the bottom to see response time distribution graphs. The node-fibers version has roughly…
  29. …for innovation and code reuse higher up the stack. I'm doing my bit by maintaining Common Node ( https://github.com/olegp/common-node ), which is a synchronous CommonJS compatibility layer for Node.js.
    comment by olegp · 2011-08-06 · in Node.js - A Giant Step Backwards