Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The V8 team is thinking of adding yield/defer support to make programming in Node neater. There's hope yet.

Meanwhile there are other choices that are about as easy, like Python libraries and Google's Go. Too bad they don't have the same zealous community support.



> The V8 team is thinking of adding yield/defer support to make programming in Node neater. There's hope yet.

There is SpiderNode, not sure what the status of it is, but it replaces V8 in node.js with SpiderMonkey. SpiderMonkey already has yield and much other new JS syntactic sugar.

http://blog.zpao.com/post/4620873765/about-that-hybrid-v8mon...


Marcel Laverdet has built a node extension that provides yield: https://github.com/laverdet/node-fibers


Hmmm, interesting! I hadn't heard about that - Do you have a reference URL?


http://youtu.be/seX7jYI96GE?t=52m35s

Mentions they're working closely with the node team here. And that whole talk is about fixing up JavaScript into a modern language, remove the weird syntax quirks around classes, modules, etc. Say what you mean instead of the weird closure soup.


TameJS adds some nice primitives on top of Node.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: