Better HN
topnewbestaskshowjobs
Log inSign up

bjouhier

2 karma · joined Feb 4, 2012 (14y ago) · 3 submissions

Submissions

comment 12y ago · link · parent

The point about fibers is incorrect. I posted a detailed comment on your blog.

comment 13y ago · link · parent

node.js is single threaded and EC2 large instance has 4 CPUs. So to be fair you must either:

a) bench on a single core processor (a small EC2 instance)

b) configure node.js as a cluster with as many instances as processors.

comment 14y ago · link · parent

Hi Jeremy,

streamline.js already fits the bill, including your golden rule: the core idea was precisely to generate the callbacks that the developer would write otherwise.

Today it works with both CoffeeScript and Javascript, but in a decoupled way: the streamline transformation is applied to the JS generated by the CS compiler. It could easily be repackaged as a CS language extension.

It has been around for more than a year and the CS+streamline combination is powering at least one live site: http://www.thethingdom.com/

Bruno