2014년 12월 16일 화요일

0.12 intro?

Rather than the more common “please sir may I have some 0.12?”, I want to ask if anyone better informed than I am wants to take a shot, for the edification of the list, at introducing 0.12 to us? What’s new, what’s exciting… v8 features and improvements? Generators? Other JavaScript advances? No doubt there is some (500?) blog post(s) about it out in the Internets, but I am hopeful that more than one voice piping in here will make it more interesting and encourage discussion.




Generators. Without --harmony-generators flag. Nice working generators. Did I mention generators?
It's the single most important thing node.js is worth upgrading for. Or shall I say io.js now since node.js 0.12 is going to be released a few days after "never"? Oh well.
There are a couple of other important things, like case-sensitive headers in http, or Object.setPrototype implementation in v8. Also harmony "let" statement without strict mode got fixed, but they broke it up again in newer v8 (oh gosh, I want spidermonkey in node to put the end to this kind of thing). But those small features hardly worth talking about imho.



> Rather than the more common “please sir may I have some 0.12?”, I want to ask if anyone better informed than I am wants to take a shot, for the edification of the list, at introducing 0.12 to us? What’s new, what’s exciting… v8 features and improvements? Generators? Other JavaScript advances? No doubt there is some (500?) blog post(s) about it out in the Internets, but I am hopeful that more than one voice piping in here will make it more interesting and encourage discussion.Not that many, and they are  worth reading:

http://strongloop.com/strongblog/whats-new-node-v0-12-features



ES6 Arrow functions? I get tired of writing .bind(this) all the time.




This overview is clearly missing lots of TLS and Crypto stuff, probably even more in other fields.




Unfortunately even latest v8 doesn't have working/reliable arrow functions.


댓글 없음:

댓글 쓰기