3 ms·
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
by Detrus 15y ago
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.
- Fenn 15y agoHmmm, interesting! I hadn't heard about that - Do you have a reference URL?
- sausagefeet 15y agoTameJS adds some nice primitives on top of Node.
- Detrus 15y agohttp://youtu.be/seX7jYI96GE?t=52m35s 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.
- daakus 15y agoMarcel Laverdet has built a node extension that provides yield: https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers
- azakai 15y ago> 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-v8monkey-engine http://blog.zpao.com/post/4620873765/about-that-hybrid-v8mon...