-
Notifications
You must be signed in to change notification settings - Fork 129
Update io.js v1.1.0 and node v0.12.0 V8 versions #98
Update io.js v1.1.0 and node v0.12.0 V8 versions #98
Conversation
ce508fe
to
a012b06
Compare
@domenic do you have a chance to review this? |
I never understood why were were comparing to a hypothetical future Node 0.12 release anyway. We should just compare to the latest stable, 0.10.35. |
I agree with domenic. |
👍 to @Fishrock123 and @domenic |
Well, I guess it was due to the fact that the last V8 upgrade on the node 0.10 branch was done such a long time ago (one and a half years ago to v3.14.5.9) that it didn't sound like a fair comparison at the time of writing. 0.11.15 is supposed to be the RC version of 0.12, but who knows how many more months will it take for that to happen. I'm fine with targeting the content for 0.10.35 and it seems like we already have two +1's from Collaborators too, so I'll go ahead and search the internet archives for V8 v3.14 :-). @domenic, on a side note, I've noticed that 0.11.15 is shipping with V8 3.28.73 which is currently an abandoned version (the branch head of 3.28 is 3.28.71.19). Do you think it's worth to file that in? |
Not sure what "file that in" means? |
To submit an issue to joyent/node's repository. |
Oh. Shrug. My cares about joyent/node have plummeted to absolute zero. |
So V8 3.14 does not have any ES6 feature completed, so it seems pointless to compare io.js with [email protected] with the --harmony since literally no one is using that. However, [email protected] with the --harmony flag is commonly used (even in production) due to the support for generators that ignited projects and communities like What do you think about adding a small paragraph about [email protected]'s V8 version (for comparison) but keep [email protected]'s info without references to 0.12? |
Agreed. It's more useful to compare io.js to node.js. io.js has ES6 features, and node.js does not.
I might keep something very minimal, without mentioning versions at all. E.g., "If you ever used the unstable Node 0.11.x series with the |
So, Node.js 0.12 has been released; it contains v8 |
well, Joyent didn't write up anything about the ES6 features now available in the 6 month old version of v8 they shipped so someone would have to manually figure that out in order to write a comparison :( |
@ruimarinho You probably don't need it now that Node 0.12 has been released but it's It's easy to check if you use
(to install Node 0.10: |
Yeah, weird. :/ However, as far as I understand it should more or less match Chrome 38. In particular, it doesn't have generators. |
In general we should address 0.12 dropping in a few ways through the product/public relations. That long-awaited release is going to gain a lot of press itself and possibly create some confusion. "Well, io.js is only based on v0.10... but the new Node.js™ is based on v0.11!" Hmmm, this aspect should be a new issue/discussion. Anyway, re: the version, lets get this PR update or an alternative one to start addressing this specific development. |
@snostorm Sure. However, what's currently on the site is incorrect and v8 3.28 is still putting most unfinished stuff behind
contrary to io.js's v8 version:
so most of the description should be correct besides version numbers. IMO v8 mentions should be updated on the site so that it's what we ended up with and the rest, public relations etc. can be discussed separately. At least that's my humble opinion. :) |
Don't worry about the messaging side of it. I'm quite surprised at how little press 0.12 is getting at the moment (I have a theory about why that is and it will probably change on Tuesday). As far as messaging, the differences between 0.12 and 0.10 are similar (outdated v8 and libuv). There are no improvements in 0.12 that are not in io.js and node.js is still lagging behind on shipping supported versions of its dependencies. |
I'm updating this now with the content from #124 as well. I was reluctant for more updates as the recent release cycle of 0.11.x was abnormal. |
</div> | ||
|
||
<div class="faq-item"> | ||
|
||
<h2 class="faq-title">No more --harmony flag</h2> | ||
<div class="faq-body"> | ||
<p>On joyent/[email protected] (V8 3.26), the <code>--harmony</code> runtime flag enabled all <strong>completed</strong>, <strong>staged</strong> and <strong>in progress</strong> ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for <code>typeof</code> which were hidden under <code>--harmony-typeof</code>). This meant that some really buggy or even broken features like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> were just as readily available for developers as <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a>, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. <code>--harmony-generators</code>), or simply enable all of them and then use a restricted subset.</p> | ||
<p>On joyent/[email protected] (V8 3.28), the <code>--harmony</code> runtime flag enabled all <strong>completed</strong>, <strong>staged</strong> and <strong>in progress</strong> ES6 features together, in bulk (with the exception of <code>proxies</code> which were hidden under <code>--harmony-proxies</code>). This meant that some really buggy or even broken features like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions">arrow functions</a> were just as readily available for developers as <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a>, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. <code>--harmony-generators</code>), or simply enable all of them and then use a restricted subset.</p> |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
a012b06
to
35e07c1
Compare
Rebased and updated with the new V8 versions for both io.js 1.1.0 and node 0.12.0. I also double-checked that the features enabled via the |
Interestingly, though, they've shipped 0.12 with an unsupported V8 version, considering the branch head for 3.28 is actually sitting at |
landed in 4486471 -- thanks! |
[email protected] -> V8 4.1.0.14
[email protected] -> V8 3.28.73
Closes #124.